/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hello;

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import org.netbeans.microedition.lcdui.SimpleTableModel;
import org.netbeans.microedition.lcdui.SplashScreen;
import org.netbeans.microedition.lcdui.pda.FileBrowser;

/**
 * @author LEONI
 */
public class Calculadora extends MIDlet implements CommandListener {

    double intporcientodescuentosolicita;
    //***************DECLARACIÓN DE VARIABLES NOMINA UNO******************
     String percepciones, bonouno, bonodos, bonotres, bonocuatro, percepcionesfijas, liquidosinbonos, descuentokdnoref, liquido, quincenas, porcientoliquido, ce, descuentokdref, descuentokd, descuentocsolicita, cpo, porcientodescuentosolicita;
     float intpercepciones, intbonouno, intbonodos, intbonotres, intbonocuatro, intpercepcionesfijas, intliquidosinbonos, intdescuentokdnoref, intliquido, intquincenas, intporcentajeliquido, intporcientoliquido, intce, intdescuentokdref, intdescuentokd, intdescuentocsolicita, intcpo;
     float menor, menor1,intcp, uno;

    //***************DECLARACIÓN DE VARIABLES NOMINA DOS******************
    String percepciones1, bonouno1, bonodos1, bonotres1, bonocuatro1, percepcionesfijas1, liquidosinbonos1, descuentokdnoref1, liquido1, quincenas1, porcientoliquido1, ce1, descuentokdref1, descuentokd1, descuentocsolicita1, cpo1;
    float intpercepciones1, intbonouno1, intbonodos1, intbonotres1, intbonocuatro1, intpercepcionesfijas1, intliquidosinbonos1, intdescuentokdnoref1, intliquido1, intquincenas1, intporcentajeliquido1, intporcientoliquido1, intce1, intdescuentokdref1, intdescuentokd1, intdescuentocsolicita1, intcpo1;
    float n2menor, n2menor1,intcp1, uno1;

    //***************DECLARACIÓN DE VARIABLES NOMINA TRES******************
    String percepciones2, bonouno2, bonodos2, bonotres2, bonocuatro2, percepcionesfijas2, liquidosinbonos2, descuentokdnoref2, liquido2, quincenas2, porcientoliquido2, ce2, descuentokdref2, descuentokd2, descuentocsolicita2, cpo2;
    float intpercepciones2, intbonouno2, intbonodos2, intbonotres2, intbonocuatro2, intpercepcionesfijas2, intliquidosinbonos2, intdescuentokdnoref2, intliquido2, intquincenas2, intporcentajeliquido2, intporcientoliquido2, intce2, intdescuentokdref2, intdescuentokd2, intdescuentocsolicita2, intcpo2;
    float n3menor, n3menor1,intcp2, uno2;
    
     //**********VARIABLES PARA EL CHOICEGROUP*************///
     int nomina, indice, calculadora, indice1;


    private boolean midletPaused = false;
    //<editor-fold defaultstate="collapsed" desc=" Generated Fields ">//GEN-BEGIN:|fields|0|
    private java.util.Hashtable __previousDisplayables = new java.util.Hashtable();
    private Command exitCommand;
    private Command exitCommand1;
    private Command okCommand;
    private Command okCommand1;
    private Command okCommand2;
    private Command backCommand;
    private Command screenCommand;
    private Command backCommand1;
    private Command exitCommand2;
    private Command backCommand4;
    private Command backCommand3;
    private Command backCommand2;
    private Command backCommand9;
    private Command backCommand8;
    private Command backCommand7;
    private Command backCommand6;
    private Command backCommand5;
    private Command backCommand16;
    private Command backCommand15;
    private Command backCommand10;
    private Command backCommand11;
    private Command backCommand13;
    private Command backCommand12;
    private Command backCommand14;
    private Command okCommand5;
    private Command okCommand3;
    private Command itemCommand;
    private Command okCommand4;
    private Command itemCommand1;
    private Command okCommand7;
    private Command okCommand6;
    private Command exitCommand4;
    private Command exitCommand3;
    private Command okCommand8;
    private Command screenCommand2;
    private Command screenCommand1;
    private Command okCommand9;
    private Command exitCommand5;
    private Command okCommand10;
    private Command screenCommand3;
    private Command exitCommand7;
    private Command okCommand12;
    private Command screenCommand5;
    private Command okCommand11;
    private Command screenCommand4;
    private Command backCommand17;
    private Command exitCommand6;
    private Command backCommand18;
    private Command exitCommand8;
    private Command exitCommand9;
    private Command okCommand14;
    private Command okCommand15;
    private Command backCommand19;
    private Command backCommand20;
    private Command backCommand21;
    private Command backCommand22;
    private Command okCommand13;
    private Command screenCommand6;
    private Command backCommand25;
    private Command backCommand26;
    private Command backCommand23;
    private Command backCommand24;
    private Command okCommand16;
    private Command okCommand17;
    private Command backCommand30;
    private Command backCommand29;
    private Command backCommand32;
    private Command backCommand31;
    private Command exitCommand10;
    private Command backCommand28;
    private Command backCommand27;
    private Command backCommand33;
    private Command backCommand34;
    private Command okCommand18;
    private Command exitCommand11;
    private Form Valores_Nomina1;
    private TextField textField3;
    private TextField textField5;
    private TextField textField4;
    private TextField textField7;
    private TextField textField6;
    private TextField textField9;
    private TextField textField8;
    private TextField textField12;
    private TextField textField10;
    private TextField textField11;
    private StringItem stringItem;
    private SplashScreen logocliente;
    private Form Resultados_Nomina1_Calculadora1;
    private TextField textField15;
    private TextField textField14;
    private TextField textField16;
    private Spacer spacer;
    private Alert Alerta_No_Sujeto_Credito_Nomina1;
    private Alert Alerta_Sujeto_Credito_Nomina1;
    private Alert Alerta_Error0_Campo2_Nomina1;
    private Alert Alerta_Error0_Campo1_Nomina1;
    private Alert Alerta_Error0_Nomina1;
    private Alert Alerta_Descuento_Solicita;
    private Alert Alerta_Quincenas_Nomina1;
    private Alert Alerta_DescuentoKDNoRef_Nomina1;
    private Alert Alerta_DescuentoKDRef_Nomina1;
    private Alert Alerta_DescuentoKD_Nomina1;
    private SplashScreen logoCeDeTeC;
    private Form Valores_Nomina2;
    private TextField textField19;
    private TextField textField18;
    private TextField textField21;
    private StringItem stringItem2;
    private TextField textField22;
    private TextField textField17;
    private TextField textField24;
    private TextField textField23;
    private TextField textField25;
    private TextField textField13;
    private TextField textField2;
    private Alert Alerta_DescuentoKD_Valida_Menor_Nomina1;
    private Form Menu_Nominas_Desc_Solicita;
    private StringItem stringItem1;
    private TextField textField;
    private ChoiceGroup choiceGroup;
    private Form Capacidad_Pago_Nomina1;
    private TextField textField1;
    private TextField textField20;
    private Alert Alerta_Quincenas_Nomina2;
    private Alert Alerta_DescuentoKD_Nomina2;
    private Alert Alerta_DescuentoKD_Valida_Menor_Nomina2;
    private Alert Alerta_DescuentoKDNoRef_Nomina2;
    private Alert Alerta_DescuentoKDRef_Nomina2;
    private Form resultados_NominaUno_calculadoraDos;
    private TextField textField28;
    private TextField textField26;
    private TextField textField27;
    private Form resultados_NominaUno_calculadoraTres;
    private TextField textField31;
    private TextField textField30;
    private TextField textField29;
    private Alert Alerta_Error0_Nomina2;
    private Form Menu_Calculadoras;
    private ChoiceGroup choiceGroup1;
    private Alert Alerta_No_Sujeto_Credito_Nomina2;
    private Alert Alerta_Sujeto_Credito_Nomina2;
    private Alert Alerta_Error0_Campo2_Nomina2;
    private Alert Alerta_Error0_Campo1_Nomina2;
    private Form Resultados_Nomina2_Calculadora1;
    private TextField textField33;
    private TextField textField32;
    private TextField textField34;
    private Form Valores_Nomina3;
    private TextField textField38;
    private TextField textField37;
    private StringItem stringItem3;
    private TextField textField42;
    private TextField textField41;
    private TextField textField40;
    private TextField textField39;
    private TextField textField46;
    private TextField textField45;
    private TextField textField44;
    private TextField textField43;
    private Form Capacidad_Pago_Nomina2;
    private TextField textField36;
    private TextField textField35;
    private Alert Alerta_DescuentoKD_Validar_Menor_Nomina3;
    private Alert Alerta_DescuentoKDNoRef_Nomina3;
    private Alert Alerta_Error0_Nomina3;
    private Alert Alerta_DescuentoKD_Nomina3;
    private Alert Alerta_Quincenas_Nomina3;
    private Alert Alerta_DescuentoKDRef_Nomina3;
    private Alert Alerta_Error0_Campo1_Nomina3;
    private Alert Alerta_Error0_Campo2_Nomina3;
    private Form Resultados_Nomina3_Calculadora1;
    private TextField textField47;
    private TextField textField48;
    private TextField textField49;
    private Image image1;
    private Image image2;
    private SimpleTableModel tableModel1;
    private Ticker ticker;
    private Font font;
    //</editor-fold>//GEN-END:|fields|0|

    /**
     * The HelloMIDlet constructor.
     */
    public Calculadora() {
    }

    //<editor-fold defaultstate="collapsed" desc=" Generated Methods ">//GEN-BEGIN:|methods|0|
    /**
     * Switches a display to previous displayable of the current displayable.
     * The <code>display</code> instance is obtain from the <code>getDisplay</code> method.
     */
    private void switchToPreviousDisplayable() {
        Displayable __currentDisplayable = getDisplay().getCurrent();
        if (__currentDisplayable != null) {
            Displayable __nextDisplayable = (Displayable) __previousDisplayables.get(__currentDisplayable);
            if (__nextDisplayable != null) {
                switchDisplayable(null, __nextDisplayable);
            }
        }
    }
    //</editor-fold>//GEN-END:|methods|0|
    //<editor-fold defaultstate="collapsed" desc=" Generated Method: initialize ">//GEN-BEGIN:|0-initialize|0|0-preInitialize
    /**
     * Initilizes the application.
     * It is called only once when the MIDlet is started. The method is called before the <code>startMIDlet</code> method.
     */
    private void initialize() {//GEN-END:|0-initialize|0|0-preInitialize
        // write pre-initialize user code here
        okCommand = new Command("CALCULAR", Command.OK, 0);//GEN-BEGIN:|0-initialize|1|0-postInitialize
        Alerta_Quincenas_Nomina1 = new Alert("", "FALTA QUINCENAS.", null, AlertType.ERROR);
        Alerta_Quincenas_Nomina1.addCommand(getBackCommand3());
        Alerta_Quincenas_Nomina1.setCommandListener(this);
        Alerta_Quincenas_Nomina1.setTimeout(Alert.FOREVER);//GEN-END:|0-initialize|1|0-postInitialize
        // write post-initialize user code here
    }//GEN-BEGIN:|0-initialize|2|
    //</editor-fold>//GEN-END:|0-initialize|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: startMIDlet ">//GEN-BEGIN:|3-startMIDlet|0|3-preAction
    /**
     * Performs an action assigned to the Mobile Device - MIDlet Started point.
     */
    public void startMIDlet() {//GEN-END:|3-startMIDlet|0|3-preAction
        // write pre-action user code here
        switchDisplayable(null, getLogocliente());//GEN-LINE:|3-startMIDlet|1|3-postAction
        // write post-action user code here
    }//GEN-BEGIN:|3-startMIDlet|2|
    //</editor-fold>//GEN-END:|3-startMIDlet|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: resumeMIDlet ">//GEN-BEGIN:|4-resumeMIDlet|0|4-preAction
    /**
     * Performs an action assigned to the Mobile Device - MIDlet Resumed point.
     */
    public void resumeMIDlet() {//GEN-END:|4-resumeMIDlet|0|4-preAction
        // write pre-action user code here
//GEN-LINE:|4-resumeMIDlet|1|4-postAction
        // write post-action user code here
    }//GEN-BEGIN:|4-resumeMIDlet|2|
    //</editor-fold>//GEN-END:|4-resumeMIDlet|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: switchDisplayable ">//GEN-BEGIN:|5-switchDisplayable|0|5-preSwitch
    /**
     * Switches a current displayable in a display. The <code>display</code> instance is taken from <code>getDisplay</code> method. This method is used by all actions in the design for switching displayable.
     * @param alert the Alert which is temporarily set to the display; if <code>null</code>, then <code>nextDisplayable</code> is set immediately
     * @param nextDisplayable the Displayable to be set
     */
    public void switchDisplayable(Alert alert, Displayable nextDisplayable) {//GEN-END:|5-switchDisplayable|0|5-preSwitch
        // write pre-switch user code here
        Display display = getDisplay();//GEN-BEGIN:|5-switchDisplayable|1|5-postSwitch
        Displayable __currentDisplayable = display.getCurrent();
        if (__currentDisplayable != null  &&  nextDisplayable != null) {
            __previousDisplayables.put(nextDisplayable, __currentDisplayable);
        }
        if (alert == null) {
            display.setCurrent(nextDisplayable);
        } else {
            display.setCurrent(alert, nextDisplayable);
        }//GEN-END:|5-switchDisplayable|1|5-postSwitch
        // write post-switch user code here
    }//GEN-BEGIN:|5-switchDisplayable|2|
    //</editor-fold>//GEN-END:|5-switchDisplayable|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: commandAction for Displayables ">//GEN-BEGIN:|7-commandAction|0|7-preCommandAction
    /**
     * Called by a system to indicated that a command has been invoked on a particular displayable.
     * @param command the Command that was invoked
     * @param displayable the Displayable where the command was invoked
     */
    public void commandAction(Command command, Displayable displayable) {//GEN-END:|7-commandAction|0|7-preCommandAction
        // write pre-action user code here
        if (displayable == Alerta_DescuentoKDNoRef_Nomina1) {//GEN-BEGIN:|7-commandAction|1|249-preAction
            if (command == backCommand7) {//GEN-END:|7-commandAction|1|249-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|2|249-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|3|523-preAction
        } else if (displayable == Alerta_DescuentoKDNoRef_Nomina2) {
            if (command == backCommand21) {//GEN-END:|7-commandAction|3|523-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|4|523-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|5|675-preAction
        } else if (displayable == Alerta_DescuentoKDNoRef_Nomina3) {
            if (command == backCommand29) {//GEN-END:|7-commandAction|5|675-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|6|675-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|7|246-preAction
        } else if (displayable == Alerta_DescuentoKDRef_Nomina1) {
            if (command == backCommand6) {//GEN-END:|7-commandAction|7|246-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|8|246-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|9|488-preAction
        } else if (displayable == Alerta_DescuentoKDRef_Nomina2) {
            if (command == backCommand18) {//GEN-END:|7-commandAction|9|488-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|10|488-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|11|666-preAction
        } else if (displayable == Alerta_DescuentoKDRef_Nomina3) {
            if (command == backCommand28) {//GEN-END:|7-commandAction|11|666-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|12|666-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|13|252-preAction
        } else if (displayable == Alerta_DescuentoKD_Nomina1) {
            if (command == backCommand8) {//GEN-END:|7-commandAction|13|252-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|14|252-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|15|519-preAction
        } else if (displayable == Alerta_DescuentoKD_Nomina2) {
            if (command == backCommand19) {//GEN-END:|7-commandAction|15|519-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|16|519-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|17|693-preAction
        } else if (displayable == Alerta_DescuentoKD_Nomina3) {
            if (command == backCommand31) {//GEN-END:|7-commandAction|17|693-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|18|693-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|19|399-preAction
        } else if (displayable == Alerta_DescuentoKD_Valida_Menor_Nomina1) {
            if (command == okCommand9) {//GEN-END:|7-commandAction|19|399-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|20|399-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|21|521-preAction
        } else if (displayable == Alerta_DescuentoKD_Valida_Menor_Nomina2) {
            if (command == backCommand20) {//GEN-END:|7-commandAction|21|521-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|22|521-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|23|684-preAction
        } else if (displayable == Alerta_DescuentoKD_Validar_Menor_Nomina3) {
            if (command == backCommand30) {//GEN-END:|7-commandAction|23|684-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|24|684-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|25|234-preAction
        } else if (displayable == Alerta_Descuento_Solicita) {
            if (command == backCommand2) {//GEN-END:|7-commandAction|25|234-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|26|234-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|27|274-preAction
        } else if (displayable == Alerta_Error0_Campo1_Nomina1) {
            if (command == backCommand15) {//GEN-END:|7-commandAction|27|274-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|28|274-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|29|585-preAction
        } else if (displayable == Alerta_Error0_Campo1_Nomina2) {
            if (command == backCommand23) {//GEN-END:|7-commandAction|29|585-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|30|585-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|31|715-preAction
        } else if (displayable == Alerta_Error0_Campo1_Nomina3) {
            if (command == backCommand33) {//GEN-END:|7-commandAction|31|715-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|32|715-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|33|276-preAction
        } else if (displayable == Alerta_Error0_Campo2_Nomina1) {
            if (command == backCommand16) {//GEN-END:|7-commandAction|33|276-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|34|276-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|35|588-preAction
        } else if (displayable == Alerta_Error0_Campo2_Nomina2) {
            if (command == backCommand24) {//GEN-END:|7-commandAction|35|588-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|36|588-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|37|720-preAction
        } else if (displayable == Alerta_Error0_Campo2_Nomina3) {
            if (command == backCommand34) {//GEN-END:|7-commandAction|37|720-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|38|720-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|39|268-preAction
        } else if (displayable == Alerta_Error0_Nomina1) {
            if (command == backCommand13) {//GEN-END:|7-commandAction|39|268-preAction
                // wdrite pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|40|268-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|41|530-preAction
        } else if (displayable == Alerta_Error0_Nomina2) {
            if (command == backCommand22) {//GEN-END:|7-commandAction|41|530-preAction
                // write pre-action user code here
//GEN-LINE:|7-commandAction|42|530-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|43|702-preAction
        } else if (displayable == Alerta_Error0_Nomina3) {
            if (command == backCommand32) {//GEN-END:|7-commandAction|43|702-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|44|702-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|45|218-preAction
        } else if (displayable == Alerta_No_Sujeto_Credito_Nomina1) {
            if (command == backCommand1) {//GEN-END:|7-commandAction|45|218-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|46|218-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|47|623-preAction
        } else if (displayable == Alerta_No_Sujeto_Credito_Nomina2) {
            if (command == backCommand26) {//GEN-END:|7-commandAction|47|623-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|48|623-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|49|237-preAction
        } else if (displayable == Alerta_Quincenas_Nomina1) {
            if (command == backCommand3) {//GEN-END:|7-commandAction|49|237-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|50|237-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|51|457-preAction
        } else if (displayable == Alerta_Quincenas_Nomina2) {
            if (command == backCommand17) {//GEN-END:|7-commandAction|51|457-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|52|457-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|53|657-preAction
        } else if (displayable == Alerta_Quincenas_Nomina3) {
            if (command == backCommand27) {//GEN-END:|7-commandAction|53|657-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|54|657-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|55|220-preAction
        } else if (displayable == Alerta_Sujeto_Credito_Nomina1) {
            if (command == backCommand) {//GEN-END:|7-commandAction|55|220-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|56|220-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|57|619-preAction
        } else if (displayable == Alerta_Sujeto_Credito_Nomina2) {
            if (command == backCommand25) {//GEN-END:|7-commandAction|57|619-preAction
                // write pre-action user code here
                switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|58|619-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|59|480-preAction
        } else if (displayable == Capacidad_Pago_Nomina1) {
            if (command == exitCommand7) {//GEN-END:|7-commandAction|59|480-preAction
                // write pre-action user code here
                exitMIDlet();//GEN-LINE:|7-commandAction|60|480-postAction
                // write post-action user code here
            } else if (command == screenCommand5) {//GEN-LINE:|7-commandAction|61|474-preAction
                // write pre-action user code here
                Dictamen_Nomina1();//GEN-LINE:|7-commandAction|62|474-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|63|610-preAction
        } else if (displayable == Capacidad_Pago_Nomina2) {
            if (command == screenCommand6) {//GEN-END:|7-commandAction|63|610-preAction
                // write pre-action user code here
                Dictamen_Nomina2();//GEN-LINE:|7-commandAction|64|610-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|65|545-preAction
        } else if (displayable == Menu_Calculadoras) {
            if (command == exitCommand8) {//GEN-END:|7-commandAction|65|545-preAction
                // write pre-action user code here
                exitMIDlet();//GEN-LINE:|7-commandAction|66|545-postAction
                // write post-action user code here
            } else if (command == okCommand13) {//GEN-LINE:|7-commandAction|67|537-preAction
              indice1 = choiceGroup1.getSelectedIndex();
                if (indice1 == 0)
                 {
                   calculadora = 1;
                 } else
                   {
                     if (indice1 == 1)
                      {
                        calculadora = 2;
                      }else
                      {
                       if (indice1 == 2)
                       {
                        calculadora = 3;
                       }
                      }
                   }
              switchDisplayable(null, getMenu_Nominas_Desc_Solicita());//GEN-LINE:|7-commandAction|68|537-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|69|442-preAction
        } else if (displayable == Menu_Nominas_Desc_Solicita) {
            if (command == exitCommand5) {//GEN-END:|7-commandAction|69|442-preAction
                // write pre-action user code here
                exitMIDlet();//GEN-LINE:|7-commandAction|70|442-postAction
                // write post-action user code here
            } else if (command == okCommand10) {//GEN-LINE:|7-commandAction|71|434-preAction
              indice = choiceGroup.getSelectedIndex();
              if (indice == 0)
                 {
                  nomina = 1;
                 } else
                 { if (indice == 1)
                     {
                       nomina = 2;
                     }else
                     {     if (indice == 2)
                        {
                          nomina = 3;
                        }else
                        {    if (indice == 3)
                           {
                             nomina = 4;
                            }
                        }
                      }
                 }

              Descuento_Solicita();//GEN-LINE:|7-commandAction|72|434-postAction
        // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|73|214-preAction
        } else if (displayable == Resultados_Nomina1_Calculadora1) {
            if (command == exitCommand2) {//GEN-END:|7-commandAction|73|214-preAction
                // write pre-action user code here
                exitMIDlet();//GEN-LINE:|7-commandAction|74|214-postAction
                // write post-action user code here
            } else if (command == okCommand12) {//GEN-LINE:|7-commandAction|75|477-preAction
                // write pre-action user code here
                unaNomina_o_dosNominas();//GEN-LINE:|7-commandAction|76|477-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|77|647-preAction
        } else if (displayable == Resultados_Nomina2_Calculadora1) {
            if (command == exitCommand10) {//GEN-END:|7-commandAction|77|647-preAction
                // write pre-action user code here
                exitMIDlet();//GEN-LINE:|7-commandAction|78|647-postAction
                // write post-action user code here
            } else if (command == okCommand16) {//GEN-LINE:|7-commandAction|79|593-preAction
                // write pre-action user code here

                dosNominas_o_tresNominas();//GEN-LINE:|7-commandAction|80|593-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|81|731-preAction
        } else if (displayable == Resultados_Nomina3_Calculadora1) {
            if (command == exitCommand11) {//GEN-END:|7-commandAction|81|731-preAction
                // write pre-action user code here
                exitMIDlet();//GEN-LINE:|7-commandAction|82|731-postAction
                // write post-action user code here
            } else if (command == okCommand18) {//GEN-LINE:|7-commandAction|83|729-preAction
                // write pre-action user code here
//GEN-LINE:|7-commandAction|84|729-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|85|19-preAction
        } else if (displayable == Valores_Nomina1) {
            if (command == exitCommand) {//GEN-END:|7-commandAction|85|19-preAction
                // write pre-action user code here
                exitMIDlet();//GEN-LINE:|7-commandAction|86|19-postAction
                // write post-action user code here
            } else if (command == okCommand2) {//GEN-LINE:|7-commandAction|87|77-preAction
             //CODIGO PARA VALIDAR CAMPOS EN BLANCO DE NOMINA UNO
               if (textField4.getString().length() != 0)
               {
                 percepciones = textField4.getString();
                 intpercepciones = Float.parseFloat(percepciones);
               } else
                 {
                   textField4.setString("0");
                   percepciones = textField4.getString();
                   intpercepciones = Float.parseFloat(percepciones);
                 }
              if (textField9.getString().length() != 0)
               {
                 bonouno = textField9.getString();
                 intbonouno = Float.parseFloat(bonouno);
               } else
                 {
                   textField9.setString("0");
                   bonouno = textField9.getString();
                   intbonouno = Float.parseFloat(bonouno);
                 }
                if (textField10.getString().length() != 0)
                 {
                   bonodos = textField10.getString();
                   intbonodos = Float.parseFloat(bonodos);
                 } else
                   {
                     textField10.setString("0");
                     bonodos = textField10.getString();
                     intbonodos = Float.parseFloat(bonodos);
                   }
                   if (textField11.getString().length() != 0)
                    {
                      bonotres = textField11.getString();
                      intbonotres = Float.parseFloat(bonotres);
                    } else
                      {
                        textField11.setString("0");
                        bonotres = textField11.getString();
                        intbonotres = Float.parseFloat(bonotres);
                      }
                      if (textField12.getString().length() != 0)
                       {
                         bonocuatro = textField12.getString();
                         intbonocuatro = Float.parseFloat(bonocuatro);
                       } else
                         {
                           textField12.setString("0");
                           bonocuatro = textField12.getString();
                           intbonocuatro = Float.parseFloat(bonocuatro);
                         }
                         if (textField5.getString().length() != 0)
                          {
                            liquido = textField5.getString();
                            intliquido = Float.parseFloat(liquido);
                          } else
                            {
                             textField5.setString("0");
                             liquido = textField5.getString();
                             intliquido = Float.parseFloat(liquido);
                            }
               Quincenas_Nomina1();//GEN-LINE:|7-commandAction|88|77-postAction

            }//GEN-BEGIN:|7-commandAction|89|369-preAction
        } else if (displayable == Valores_Nomina2) {
            if (command == exitCommand4) {//GEN-END:|7-commandAction|89|369-preAction
                // write pre-action user code here
                exitMIDlet();//GEN-LINE:|7-commandAction|90|369-postAction
                // write post-action user code here
            } else if (command == okCommand5) {//GEN-LINE:|7-commandAction|91|319-preAction
             //CODIGO PARA VALIDAR CAMPOS EN BLANCO DE NOMINA DOS
               if (textField19.getString().length() != 0)
               {
                 percepciones1 = textField19.getString();
                 intpercepciones1 = Float.parseFloat(percepciones1);
               } else
                 {
                   textField19.setString("0");
                   percepciones1 = textField19.getString();
                   intpercepciones1 = Float.parseFloat(percepciones1);
                 }
              if (textField22.getString().length() != 0)
               {
                 bonouno1 = textField22.getString();
                 intbonouno1 = Float.parseFloat(bonouno1);
               } else
                 {
                   textField22.setString("0");
                   bonouno1 = textField22.getString();
                   intbonouno1 = Float.parseFloat(bonouno1);
                 }
                if (textField23.getString().length() != 0)
                 {
                   bonodos1 = textField23.getString();
                   intbonodos1 = Float.parseFloat(bonodos1);
                 } else
                   {
                     textField23.setString("0");
                     bonodos1 = textField23.getString();
                     intbonodos1 = Float.parseFloat(bonodos1);
                   }
                   if (textField24.getString().length() != 0)
                    {
                      bonotres1 = textField24.getString();
                      intbonotres1 = Float.parseFloat(bonotres1);
                    } else
                      {
                        textField24.setString("0");
                        bonotres1 = textField24.getString();
                        intbonotres1 = Float.parseFloat(bonotres1);
                      }
                      if (textField25.getString().length() != 0)
                       {
                         bonocuatro1 = textField25.getString();
                         intbonocuatro1 = Float.parseFloat(bonocuatro1);
                       } else
                         {
                           textField25.setString("0");
                           bonocuatro1 = textField25.getString();
                           intbonocuatro1 = Float.parseFloat(bonocuatro1);
                         }
                         if (textField21.getString().length() != 0)
                          {
                            liquido1 = textField21.getString();
                            intliquido1 = Float.parseFloat(liquido1);
                          } else
                            {
                             textField21.setString("0");
                             liquido1 = textField21.getString();
                             intliquido1 = Float.parseFloat(liquido1);
                            }

               Quincenas_Nomina2();//GEN-LINE:|7-commandAction|92|319-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|93|604-preAction
        } else if (displayable == Valores_Nomina3) {
            if (command == okCommand17) {//GEN-END:|7-commandAction|93|604-preAction
             //CODIGO PARA VALIDAR CAMPOS EN BLANCO DE NOMINA TRES
               if (textField38.getString().length() != 0)
               {
                 percepciones2 = textField38.getString();
                 intpercepciones2 = Float.parseFloat(percepciones2);
               } else
                 {
                   textField38.setString("0");
                   percepciones2 = textField38.getString();
                   intpercepciones2 = Float.parseFloat(percepciones2);
                 }
              if (textField43.getString().length() != 0)
               {
                 bonouno2 = textField43.getString();
                 intbonouno2 = Float.parseFloat(bonouno2);
               } else
                 {
                   textField43.setString("0");
                   bonouno2 = textField43.getString();
                   intbonouno2 = Float.parseFloat(bonouno2);
                 }
                if (textField44.getString().length() != 0)
                 {
                   bonodos2 = textField44.getString();
                   intbonodos2 = Float.parseFloat(bonodos2);
                 } else
                   {
                     textField44.setString("0");
                     bonodos2 = textField44.getString();
                     intbonodos2 = Float.parseFloat(bonodos2);
                   }
                   if (textField45.getString().length() != 0)
                    {
                      bonotres2 = textField45.getString();
                      intbonotres2 = Float.parseFloat(bonotres2);
                    } else
                      {
                        textField45.setString("0");
                        bonotres2 = textField45.getString();
                        intbonotres2 = Float.parseFloat(bonotres2);
                      }
                      if (textField46.getString().length() != 0)
                       {
                         bonocuatro2 = textField46.getString();
                         intbonocuatro2 = Float.parseFloat(bonocuatro2);
                       } else
                         {
                           textField46.setString("0");
                           bonocuatro2 = textField46.getString();
                           intbonocuatro2 = Float.parseFloat(bonocuatro2);
                         }
                         if (textField39.getString().length() != 0)
                          {
                            liquido2 = textField39.getString();
                            intliquido2 = Float.parseFloat(liquido2);
                          } else
                            {
                             textField39.setString("0");
                             liquido2 = textField39.getString();
                             intliquido2 = Float.parseFloat(liquido2);
                            }

               Quincenas_Nomina3();//GEN-LINE:|7-commandAction|94|604-postAction

            }//GEN-BEGIN:|7-commandAction|95|209-preAction
        } else if (displayable == logoCeDeTeC) {
            if (command == SplashScreen.DISMISS_COMMAND) {//GEN-END:|7-commandAction|95|209-preAction
                // write pre-action user code here
                switchDisplayable(null, getMenu_Calculadoras());//GEN-LINE:|7-commandAction|96|209-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|97|62-preAction
        } else if (displayable == logocliente) {
            if (command == SplashScreen.DISMISS_COMMAND) {//GEN-END:|7-commandAction|97|62-preAction
               // write pre-action user code here
                switchDisplayable(null, getLogoCeDeTeC());//GEN-LINE:|7-commandAction|98|62-postAction

            }//GEN-BEGIN:|7-commandAction|99|555-preAction
        } else if (displayable == resultados_NominaUno_calculadoraDos) {
            if (command == okCommand14) {//GEN-END:|7-commandAction|99|555-preAction
                // write pre-action user code here
//GEN-LINE:|7-commandAction|100|555-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|101|568-preAction
        } else if (displayable == resultados_NominaUno_calculadoraTres) {
            if (command == okCommand15) {//GEN-END:|7-commandAction|101|568-preAction
                // write pre-action user code here
//GEN-LINE:|7-commandAction|102|568-postAction
                // write post-action user code here
            }//GEN-BEGIN:|7-commandAction|103|7-postCommandAction
        }//GEN-END:|7-commandAction|103|7-postCommandAction
        // write post-action user code here
    }//GEN-BEGIN:|7-commandAction|104|
    //</editor-fold>//GEN-END:|7-commandAction|104|














    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand ">//GEN-BEGIN:|18-getter|0|18-preInit
    /**
     * Returns an initiliazed instance of exitCommand component.
     * @return the initialized component instance
     */
    public Command getExitCommand() {
        if (exitCommand == null) {//GEN-END:|18-getter|0|18-preInit
            // write pre-init user code here
            exitCommand = new Command("SALIR", Command.EXIT, 0);//GEN-LINE:|18-getter|1|18-postInit
            // write post-init user code here
        }//GEN-BEGIN:|18-getter|2|
        return exitCommand;
    }
    //</editor-fold>//GEN-END:|18-getter|2|
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Valores_Nomina1 ">//GEN-BEGIN:|14-getter|0|14-preInit
    /**
     * Returns an initiliazed instance of Valores_Nomina1 component.
     * @return the initialized component instance
     */
    public Form getValores_Nomina1() {
        if (Valores_Nomina1 == null) {//GEN-END:|14-getter|0|14-preInit
            // write pre-init user code here
            Valores_Nomina1 = new Form("", new Item[] { getStringItem(), getTextField3(), getTextField4(), getTextField5(), getTextField6(), getTextField7(), getTextField8(), getTextField9(), getTextField10(), getTextField11(), getTextField12() });//GEN-BEGIN:|14-getter|1|14-postInit
            Valores_Nomina1.addCommand(getExitCommand());
            Valores_Nomina1.addCommand(getOkCommand2());
            Valores_Nomina1.setCommandListener(this);//GEN-END:|14-getter|1|14-postInit
            // write post-init user code here
        }//GEN-BEGIN:|14-getter|2|
        return Valores_Nomina1;
    }
    //</editor-fold>//GEN-END:|14-getter|2|



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField3 ">//GEN-BEGIN:|25-getter|0|25-preInit
    /**
     * Returns an initiliazed instance of textField3 component.
     * @return the initialized component instance
     */
    public TextField getTextField3() {
        if (textField3 == null) {//GEN-END:|25-getter|0|25-preInit
            // write pre-init user code here
            textField3 = new TextField("Quincena que Abarca:", "1", 32, TextField.DECIMAL);//GEN-LINE:|25-getter|1|25-postInit
            // write post-init user code here




        }//GEN-BEGIN:|25-getter|2|
        return textField3;
    }
    //</editor-fold>//GEN-END:|25-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField4 ">//GEN-BEGIN:|26-getter|0|26-preInit
    /**
     * Returns an initiliazed instance of textField4 component.
     * @return the initialized component instance
     */
    public TextField getTextField4() {
        if (textField4 == null) {//GEN-END:|26-getter|0|26-preInit
            // write pre-init user code here
            textField4 = new TextField("Percepciones:", null, 32, TextField.DECIMAL);//GEN-LINE:|26-getter|1|26-postInit
            // write post-init user code here
        }//GEN-BEGIN:|26-getter|2|
        return textField4;
    }
    //</editor-fold>//GEN-END:|26-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField5 ">//GEN-BEGIN:|27-getter|0|27-preInit
    /**
     * Returns an initiliazed instance of textField5 component.
     * @return the initialized component instance
     */
    public TextField getTextField5() {
        if (textField5 == null) {//GEN-END:|27-getter|0|27-preInit
            // write pre-init user code here
            textField5 = new TextField("L\u00EDquido:", null, 32, TextField.DECIMAL);//GEN-LINE:|27-getter|1|27-postInit
            // write post-init user code here
        }//GEN-BEGIN:|27-getter|2|
        return textField5;
    }
    //</editor-fold>//GEN-END:|27-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField6 ">//GEN-BEGIN:|28-getter|0|28-preInit
    /**
     * Returns an initiliazed instance of textField6 component.
     * @return the initialized component instance
     */
    public TextField getTextField6() {
        if (textField6 == null) {//GEN-END:|28-getter|0|28-preInit
            // write pre-init user code here
            textField6 = new TextField("Descuento KD REF:", null, 32, TextField.DECIMAL);//GEN-LINE:|28-getter|1|28-postInit
            // write post-init user code here
        }//GEN-BEGIN:|28-getter|2|
        return textField6;
    }
    //</editor-fold>//GEN-END:|28-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField7 ">//GEN-BEGIN:|29-getter|0|29-preInit
    /**
     * Returns an initiliazed instance of textField7 component.
     * @return the initialized component instance
     */
    public TextField getTextField7() {
        if (textField7 == null) {//GEN-END:|29-getter|0|29-preInit
            // write pre-init user code here
            textField7 = new TextField("Descuento KD No REF:", null, 32, TextField.DECIMAL);//GEN-LINE:|29-getter|1|29-postInit
            // write post-init user code here
        }//GEN-BEGIN:|29-getter|2|
        return textField7;
    }
    //</editor-fold>//GEN-END:|29-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField8 ">//GEN-BEGIN:|30-getter|0|30-preInit
    /**
     * Returns an initiliazed instance of textField8 component.
     * @return the initialized component instance
     */
    public TextField getTextField8() {
        if (textField8 == null) {//GEN-END:|30-getter|0|30-preInit
            // write pre-init user code here
            textField8 = new TextField("Cant. Quinc. del Descuento KD:", "1", 32, TextField.DECIMAL);//GEN-LINE:|30-getter|1|30-postInit
            // write post-init user code here
        }//GEN-BEGIN:|30-getter|2|
        return textField8;
    }
    //</editor-fold>//GEN-END:|30-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField9 ">//GEN-BEGIN:|31-getter|0|31-preInit
    /**
     * Returns an initiliazed instance of textField9 component.
     * @return the initialized component instance
     */
    public TextField getTextField9() {
        if (textField9 == null) {//GEN-END:|31-getter|0|31-preInit
            // write pre-init user code here
            textField9 = new TextField("Bono 1:", null, 32, TextField.DECIMAL);//GEN-LINE:|31-getter|1|31-postInit
            // write post-init user code here
        }//GEN-BEGIN:|31-getter|2|
        return textField9;
    }
    //</editor-fold>//GEN-END:|31-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField10 ">//GEN-BEGIN:|32-getter|0|32-preInit
    /**
     * Returns an initiliazed instance of textField10 component.
     * @return the initialized component instance
     */
    public TextField getTextField10() {
        if (textField10 == null) {//GEN-END:|32-getter|0|32-preInit
            // write pre-init user code here
            textField10 = new TextField("Bono 2:", null, 32, TextField.DECIMAL);//GEN-LINE:|32-getter|1|32-postInit
            // write post-init user code here
        }//GEN-BEGIN:|32-getter|2|
        return textField10;
    }
    //</editor-fold>//GEN-END:|32-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField11 ">//GEN-BEGIN:|33-getter|0|33-preInit
    /**
     * Returns an initiliazed instance of textField11 component.
     * @return the initialized component instance
     */
    public TextField getTextField11() {
        if (textField11 == null) {//GEN-END:|33-getter|0|33-preInit
            // write pre-init user code here
            textField11 = new TextField("Bono 3:", null, 32, TextField.DECIMAL);//GEN-LINE:|33-getter|1|33-postInit
            // write post-init user code here
        }//GEN-BEGIN:|33-getter|2|
        return textField11;
    }
    //</editor-fold>//GEN-END:|33-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField12 ">//GEN-BEGIN:|34-getter|0|34-preInit
    /**
     * Returns an initiliazed instance of textField12 component.
     * @return the initialized component instance
     */
    public TextField getTextField12() {
        if (textField12 == null) {//GEN-END:|34-getter|0|34-preInit
            // write pre-init user code here
            textField12 = new TextField("Bono 4:", null, 32, TextField.DECIMAL);//GEN-LINE:|34-getter|1|34-postInit
            // write post-init user code here
        }//GEN-BEGIN:|34-getter|2|
        return textField12;
    }
    //</editor-fold>//GEN-END:|34-getter|2|















    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand1 ">//GEN-BEGIN:|47-getter|0|47-preInit
    /**
     * Returns an initiliazed instance of exitCommand1 component.
     * @return the initialized component instance
     */
    public Command getExitCommand1() {
        if (exitCommand1 == null) {//GEN-END:|47-getter|0|47-preInit
            // write pre-init user code here
            exitCommand1 = new Command("Exit", Command.EXIT, 0);//GEN-LINE:|47-getter|1|47-postInit
            // write post-init user code here
        }//GEN-BEGIN:|47-getter|2|
        return exitCommand1;
    }
    //</editor-fold>//GEN-END:|47-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand1 ">//GEN-BEGIN:|49-getter|0|49-preInit
    /**
     * Returns an initiliazed instance of okCommand1 component.
     * @return the initialized component instance
     */
    public Command getOkCommand1() {
        if (okCommand1 == null) {//GEN-END:|49-getter|0|49-preInit
            // write pre-init user code here
            okCommand1 = new Command("Ok", Command.OK, 0);//GEN-LINE:|49-getter|1|49-postInit
            // write post-init user code here
        }//GEN-BEGIN:|49-getter|2|
        return okCommand1;
    }
    //</editor-fold>//GEN-END:|49-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: stringItem ">//GEN-BEGIN:|55-getter|0|55-preInit
    /**
     * Returns an initiliazed instance of stringItem component.
     * @return the initialized component instance
     */
    public StringItem getStringItem() {
        if (stringItem == null) {//GEN-END:|55-getter|0|55-preInit
            // write pre-init user code here
            stringItem = new StringItem("NOMINA FISICA 1", null, Item.PLAIN);//GEN-BEGIN:|55-getter|1|55-postInit
            stringItem.setLayout(ImageItem.LAYOUT_CENTER | ImageItem.LAYOUT_NEWLINE_AFTER | Item.LAYOUT_2);//GEN-END:|55-getter|1|55-postInit
            // write post-init user code here
        }//GEN-BEGIN:|55-getter|2|
        return stringItem;
    }
    //</editor-fold>//GEN-END:|55-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: logocliente ">//GEN-BEGIN:|61-getter|0|61-preInit
    /**
     * Returns an initiliazed instance of logocliente component.
     * @return the initialized component instance
     */
    public SplashScreen getLogocliente() {
        if (logocliente == null) {//GEN-END:|61-getter|0|61-preInit
            // write pre-init user code here
            logocliente = new SplashScreen(getDisplay());//GEN-BEGIN:|61-getter|1|61-postInit
            logocliente.setTitle("");
            logocliente.setCommandListener(this);
            logocliente.setFullScreenMode(true);
            logocliente.setImage(getImage1());
            logocliente.setTimeout(2000);//GEN-END:|61-getter|1|61-postInit
            // write post-init user code here
        }//GEN-BEGIN:|61-getter|2|
        return logocliente;
    }
    //</editor-fold>//GEN-END:|61-getter|2|









    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: image1 ">//GEN-BEGIN:|71-getter|0|71-preInit
    /**
     * Returns an initiliazed instance of image1 component.
     * @return the initialized component instance
     */
    public Image getImage1() {
        if (image1 == null) {//GEN-END:|71-getter|0|71-preInit
            // write pre-init user code here
            try {//GEN-BEGIN:|71-getter|1|71-@java.io.IOException
                image1 = Image.createImage("/calliquido.jpg");
            } catch (java.io.IOException e) {//GEN-END:|71-getter|1|71-@java.io.IOException
                e.printStackTrace();
            }//GEN-LINE:|71-getter|2|71-postInit
            // write post-init user code here
        }//GEN-BEGIN:|71-getter|3|
        return image1;
    }
    //</editor-fold>//GEN-END:|71-getter|3|



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand ">//GEN-BEGIN:|74-getter|0|74-preInit
    /**
     * Returns an initiliazed instance of backCommand component.
     * @return the initialized component instance
     */
    public Command getBackCommand() {
        if (backCommand == null) {//GEN-END:|74-getter|0|74-preInit
            // write pre-init user code here
            backCommand = new Command("OK", Command.BACK, 0);//GEN-LINE:|74-getter|1|74-postInit
            // write post-init user code here
        }//GEN-BEGIN:|74-getter|2|
        return backCommand;
    }
    //</editor-fold>//GEN-END:|74-getter|2|
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Resultados_Nomina1_Calculadora1 ">//GEN-BEGIN:|72-getter|0|72-preInit
    /**
     * Returns an initiliazed instance of Resultados_Nomina1_Calculadora1 component.
     * @return the initialized component instance
     */
    public Form getResultados_Nomina1_Calculadora1() {
        if (Resultados_Nomina1_Calculadora1 == null) {//GEN-END:|72-getter|0|72-preInit

            Resultados_Nomina1_Calculadora1 = new Form("RESULTADOS", new Item[] { getTextField14(), getTextField15(), getTextField16(), getSpacer() });//GEN-BEGIN:|72-getter|1|72-postInit
            Resultados_Nomina1_Calculadora1.addCommand(getExitCommand2());
            Resultados_Nomina1_Calculadora1.addCommand(getOkCommand12());
            Resultados_Nomina1_Calculadora1.setCommandListener(this);//GEN-END:|72-getter|1|72-postInit

            intporcentajeliquido = 0.30f;
            intpercepcionesfijas = intpercepciones - (intbonouno + intbonodos + intbonotres + intbonocuatro);
            intliquidosinbonos = intliquido - (intbonouno + intbonodos + intbonotres + intbonocuatro + intdescuentokdnoref);

            if (intdescuentokdnoref == 0)
             {
               intporcientoliquido = (intliquidosinbonos/intquincenas) * intporcentajeliquido;
               textField14.setString("" + intporcientoliquido);
             }else
              {
                intporcientoliquido = (((intliquido - (intbonouno + intbonodos + intbonotres + intbonocuatro))/ intquincenas) * intporcentajeliquido) - intdescuentokdnoref;
                textField14.setString("" + intporcientoliquido);
              }

            intce = ((((intpercepciones - (intbonouno + intbonodos + intbonotres + intbonocuatro)) / intquincenas) * intporcentajeliquido)) - ((intdescuentokdref / intdescuentokd) + intdescuentokdnoref);

            if (intce == 0)
             {
               textField15.setString("NO APLICA");
               intce = 0;
             }else
              {
               textField15.setString("" + intce);
              }

            float zz = 0.20f;
            intcp =  ((intliquido - intdescuentokdnoref - (intbonouno + intbonodos + intbonotres + intbonocuatro) - intpercepcionesfijas * zz) / intquincenas);

            if (intcp == 0)
             {
               textField16.setString("No aplica");
               intcp = 0;
             }else
              {
                intcp = ((intliquido - intdescuentokdnoref - (intbonouno + intbonodos + intbonotres + intbonocuatro) - intpercepcionesfijas * zz) / intquincenas);
                textField16.setString("" + intcp);
              }
        }//GEN-BEGIN:|72-getter|2|
        return Resultados_Nomina1_Calculadora1;
    }
    //</editor-fold>//GEN-END:|72-getter|2|



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand2 ">//GEN-BEGIN:|76-getter|0|76-preInit
    /**
     * Returns an initiliazed instance of okCommand2 component.
     * @return the initialized component instance
     */
    public Command getOkCommand2() {
        if (okCommand2 == null) {//GEN-END:|76-getter|0|76-preInit
            // write pre-init user code here
            okCommand2 = new Command("CALCULAR", Command.OK, 0);//GEN-LINE:|76-getter|1|76-postInit
            // write post-init user code here
        }//GEN-BEGIN:|76-getter|2|
        return okCommand2;
    }
    //</editor-fold>//GEN-END:|76-getter|2|



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField14 ">//GEN-BEGIN:|80-getter|0|80-preInit
    /**
     * Returns an initiliazed instance of textField14 component.
     * @return the initialized component instance
     */
    public TextField getTextField14() {
        if (textField14 == null) {//GEN-END:|80-getter|0|80-preInit
            // write pre-init user code here
            textField14 = new TextField("% de L\u00EDquido", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|80-getter|1|80-postInit
            // write post-init user code here
        }//GEN-BEGIN:|80-getter|2|
        return textField14;
    }
    //</editor-fold>//GEN-END:|80-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField15 ">//GEN-BEGIN:|81-getter|0|81-preInit
    /**
     * Returns an initiliazed instance of textField15 component.
     * @return the initialized component instance
     */
    public TextField getTextField15() {
        if (textField15 == null) {//GEN-END:|81-getter|0|81-preInit
            // write pre-init user code here
            textField15 = new TextField("C.E. :", "", 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|81-getter|1|81-postInit
            // write post-init user code here
        }//GEN-BEGIN:|81-getter|2|
        return textField15;
    }
    //</editor-fold>//GEN-END:|81-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField16 ">//GEN-BEGIN:|82-getter|0|82-preInit
    /**
     * Returns an initiliazed instance of textField16 component.
     * @return the initialized component instance
     */
    public TextField getTextField16() {
        if (textField16 == null) {//GEN-END:|82-getter|0|82-preInit
            // write pre-init user code here
            textField16 = new TextField("C.P. :", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|82-getter|1|82-postInit
            // write post-init user code here
        }//GEN-BEGIN:|82-getter|2|
        return textField16;
    }
    //</editor-fold>//GEN-END:|82-getter|2|









    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Dictamen_Nomina1 ">//GEN-BEGIN:|87-if|0|87-preIf
    /**
     * Performs an action assigned to the Dictamen_Nomina1 if-point.
     */
    public void Dictamen_Nomina1() {//GEN-END:|87-if|0|87-preIf

        if (intdescuentocsolicita <= menor) {//GEN-LINE:|87-if|1|88-preAction
           // intdescuentocsolicita <= intporcientoliquido;
            switchDisplayable(null, getAlerta_Sujeto_Credito_Nomina1());//GEN-LINE:|87-if|2|88-postAction
          // write post-action user code here
        } else {//GEN-LINE:|87-if|3|89-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_No_Sujeto_Credito_Nomina1());//GEN-LINE:|87-if|4|89-postAction
            // write post-action user code here
        }//GEN-LINE:|87-if|5|87-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|87-if|6|
    //</editor-fold>//GEN-END:|87-if|6|
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Sujeto_Credito_Nomina1 ">//GEN-BEGIN:|90-getter|0|90-preInit
    /**
     * Returns an initiliazed instance of Alerta_Sujeto_Credito_Nomina1 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Sujeto_Credito_Nomina1() {
        if (Alerta_Sujeto_Credito_Nomina1 == null) {//GEN-END:|90-getter|0|90-preInit
            // write pre-init user code here
            Alerta_Sujeto_Credito_Nomina1 = new Alert("Dictamen Final de la Solicitud", "SI ES SUJETO DE CR\u00C9DITO", null, AlertType.INFO);//GEN-BEGIN:|90-getter|1|90-postInit
            Alerta_Sujeto_Credito_Nomina1.addCommand(getBackCommand());
            Alerta_Sujeto_Credito_Nomina1.setCommandListener(this);
            Alerta_Sujeto_Credito_Nomina1.setTimeout(Alert.FOREVER);//GEN-END:|90-getter|1|90-postInit
            // write post-init user code here
        }//GEN-BEGIN:|90-getter|2|
        return Alerta_Sujeto_Credito_Nomina1;
    }
    //</editor-fold>//GEN-END:|90-getter|2|
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_No_Sujeto_Credito_Nomina1 ">//GEN-BEGIN:|92-getter|0|92-preInit
    /**
     * Returns an initiliazed instance of Alerta_No_Sujeto_Credito_Nomina1 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_No_Sujeto_Credito_Nomina1() {
        if (Alerta_No_Sujeto_Credito_Nomina1 == null) {//GEN-END:|92-getter|0|92-preInit
            // write pre-init user code here
            Alerta_No_Sujeto_Credito_Nomina1 = new Alert("Dictamen Final de la Solicitud", "NO ES SUJETO DE CR\u00C9DITO", null, AlertType.INFO);//GEN-BEGIN:|92-getter|1|92-postInit
            Alerta_No_Sujeto_Credito_Nomina1.addCommand(getBackCommand1());
            Alerta_No_Sujeto_Credito_Nomina1.setCommandListener(this);
            Alerta_No_Sujeto_Credito_Nomina1.setTimeout(Alert.FOREVER);//GEN-END:|92-getter|1|92-postInit
            // write post-init user code here
        }//GEN-BEGIN:|92-getter|2|
        return Alerta_No_Sujeto_Credito_Nomina1;
    }
    //</editor-fold>//GEN-END:|92-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: screenCommand ">//GEN-BEGIN:|94-getter|0|94-preInit
    /**
     * Returns an initiliazed instance of screenCommand component.
     * @return the initialized component instance
     */
    public Command getScreenCommand() {
        if (screenCommand == null) {//GEN-END:|94-getter|0|94-preInit

     // write pre-init user code here
            screenCommand = new Command("", Command.SCREEN, 0);//GEN-LINE:|94-getter|1|94-postInit
            // write post-init user code here
        }//GEN-BEGIN:|94-getter|2|
        return screenCommand;
    }
    //</editor-fold>//GEN-END:|94-getter|2|



    //<editor-fold defaultstate="collapsed" desc=" Generated Method: UnouOtro_Campo_Cero_Nomina1 ">//GEN-BEGIN:|98-if|0|98-preIf
    /**
     * Performs an action assigned to the UnouOtro_Campo_Cero_Nomina1 if-point.
     */
    public void UnouOtro_Campo_Cero_Nomina1() {//GEN-END:|98-if|0|98-preIf
        // enter pre-if user code here
        if (intquincenas == 0 || intdescuentokd == 0) {//GEN-LINE:|98-if|1|99-preAction
         // write pre-action user code here
            Un_Campo_Cero_Nomina1();//GEN-LINE:|98-if|2|99-postAction
            // write post-action user code here
        } else {//GEN-LINE:|98-if|3|100-preAction
            // write pre-action user code here
            CalculadoraUno_u_Otra();//GEN-LINE:|98-if|4|100-postAction
            // write post-action user code here
        }//GEN-LINE:|98-if|5|98-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|98-if|6|
    //</editor-fold>//GEN-END:|98-if|6|
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Error0_Campo1_Nomina1 ">//GEN-BEGIN:|104-getter|0|104-preInit
    /**
     * Returns an initiliazed instance of Alerta_Error0_Campo1_Nomina1 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Error0_Campo1_Nomina1() {
        if (Alerta_Error0_Campo1_Nomina1 == null) {//GEN-END:|104-getter|0|104-preInit
            // write pre-init user code here
            Alerta_Error0_Campo1_Nomina1 = new Alert("", "\"QUINCENAS QUE SE ABARCA\" DEBE SER MAYOR A CERO.", null, AlertType.ERROR);//GEN-BEGIN:|104-getter|1|104-postInit
            Alerta_Error0_Campo1_Nomina1.addCommand(getBackCommand15());
            Alerta_Error0_Campo1_Nomina1.setCommandListener(this);
            Alerta_Error0_Campo1_Nomina1.setTimeout(Alert.FOREVER);//GEN-END:|104-getter|1|104-postInit
            // write post-init user code here
        }//GEN-BEGIN:|104-getter|2|
        return Alerta_Error0_Campo1_Nomina1;
    }
    //</editor-fold>//GEN-END:|104-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Ambos_Campos_Cero_Nomina1 ">//GEN-BEGIN:|106-if|0|106-preIf
    /**
     * Performs an action assigned to the Ambos_Campos_Cero_Nomina1 if-point.
     */
    public void Ambos_Campos_Cero_Nomina1() {//GEN-END:|106-if|0|106-preIf
        // enter pre-if user code here
        if (intquincenas == 0 && intdescuentokd == 0) {//GEN-LINE:|106-if|1|107-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Error0_Nomina1());//GEN-LINE:|106-if|2|107-postAction
            // write post-action user code here
        } else {//GEN-LINE:|106-if|3|108-preAction

            UnouOtro_Campo_Cero_Nomina1();//GEN-LINE:|106-if|4|108-postAction
            // write post-action user code here
        }//GEN-LINE:|106-if|5|106-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|106-if|6|
    //</editor-fold>//GEN-END:|106-if|6|
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Error0_Campo2_Nomina1 ">//GEN-BEGIN:|110-getter|0|110-preInit
    /**
     * Returns an initiliazed instance of Alerta_Error0_Campo2_Nomina1 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Error0_Campo2_Nomina1() {
        if (Alerta_Error0_Campo2_Nomina1 == null) {//GEN-END:|110-getter|0|110-preInit
            // write pre-init user code here
            Alerta_Error0_Campo2_Nomina1 = new Alert("", "\"CANT. QUINC. DEL DESCUENTO KD\" DEBE SER MAYOR A CERO.", null, AlertType.ERROR);//GEN-BEGIN:|110-getter|1|110-postInit
            Alerta_Error0_Campo2_Nomina1.addCommand(getBackCommand16());
            Alerta_Error0_Campo2_Nomina1.setCommandListener(this);
            Alerta_Error0_Campo2_Nomina1.setTimeout(Alert.FOREVER);//GEN-END:|110-getter|1|110-postInit
            // write post-init user code here
        }//GEN-BEGIN:|110-getter|2|
        return Alerta_Error0_Campo2_Nomina1;
    }
    //</editor-fold>//GEN-END:|110-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Un_Campo_Cero_Nomina1 ">//GEN-BEGIN:|113-if|0|113-preIf
    /**
     * Performs an action assigned to the Un_Campo_Cero_Nomina1 if-point.
     */
    public void Un_Campo_Cero_Nomina1() {//GEN-END:|113-if|0|113-preIf
        // enter pre-if user code here
        if (intquincenas == 0) {//GEN-LINE:|113-if|1|114-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Error0_Campo1_Nomina1());//GEN-LINE:|113-if|2|114-postAction
            // write post-action user code here
        } else {//GEN-LINE:|113-if|3|115-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Error0_Campo2_Nomina1());//GEN-LINE:|113-if|4|115-postAction
            // write post-action user code here
        }//GEN-LINE:|113-if|5|113-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|113-if|6|
    //</editor-fold>//GEN-END:|113-if|6|
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Error0_Nomina1 ">//GEN-BEGIN:|119-getter|0|119-preInit
    /**
     * Returns an initiliazed instance of Alerta_Error0_Nomina1 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Error0_Nomina1() {
        if (Alerta_Error0_Nomina1 == null) {//GEN-END:|119-getter|0|119-preInit
            // write pre-init user code here
            Alerta_Error0_Nomina1 = new Alert("", "\"QUINCENAS QUE SE ABARCA\" Y \"CANT. QUINC. DEL DESCUENTO KD\" DEBEN SER MAYOR A CERO.", null, AlertType.ERROR);//GEN-BEGIN:|119-getter|1|119-postInit
            Alerta_Error0_Nomina1.addCommand(getBackCommand13());
            Alerta_Error0_Nomina1.setCommandListener(this);
            Alerta_Error0_Nomina1.setTimeout(Alert.FOREVER);//GEN-END:|119-getter|1|119-postInit
            // write post-init user code here
        }//GEN-BEGIN:|119-getter|2|
        return Alerta_Error0_Nomina1;
    }
    //</editor-fold>//GEN-END:|119-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Descuento_Solicita ">//GEN-BEGIN:|134-if|0|134-preIf
    /**
     * Performs an action assigned to the Descuento_Solicita if-point.
     */
    public void Descuento_Solicita() {//GEN-END:|134-if|0|134-preIf
        // enter pre-if user code here
        if (textField.getString().length() != 0) {//GEN-LINE:|134-if|1|135-preAction
            descuentocsolicita = textField.getString();
            intdescuentocsolicita = Float.parseFloat(descuentocsolicita);

            switchDisplayable(null, getValores_Nomina1());//GEN-LINE:|134-if|2|135-postAction
            // write post-action user code here
        } else {//GEN-LINE:|134-if|3|136-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Descuento_Solicita());//GEN-LINE:|134-if|4|136-postAction
            // write post-action user code here
        }//GEN-LINE:|134-if|5|134-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|134-if|6|
    //</editor-fold>//GEN-END:|134-if|6|
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Descuento_Solicita ">//GEN-BEGIN:|137-getter|0|137-preInit
    /**
     * Returns an initiliazed instance of Alerta_Descuento_Solicita component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Descuento_Solicita() {
        if (Alerta_Descuento_Solicita == null) {//GEN-END:|137-getter|0|137-preInit
            // write pre-init user code here
            Alerta_Descuento_Solicita = new Alert("", "FALTA DESCUENTO CR\u00C9DITO QUE SOLICITA.", null, AlertType.ERROR);//GEN-BEGIN:|137-getter|1|137-postInit
            Alerta_Descuento_Solicita.addCommand(getBackCommand2());
            Alerta_Descuento_Solicita.setCommandListener(this);
            Alerta_Descuento_Solicita.setTimeout(Alert.FOREVER);//GEN-END:|137-getter|1|137-postInit
            // write post-init user code here
        }//GEN-BEGIN:|137-getter|2|
        return Alerta_Descuento_Solicita;
    }
    //</editor-fold>//GEN-END:|137-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Quincenas_Nomina1 ">//GEN-BEGIN:|142-if|0|142-preIf
    /**
     * Performs an action assigned to the Quincenas_Nomina1 if-point.
     */
    public void Quincenas_Nomina1() {//GEN-END:|142-if|0|142-preIf
        // enter pre-if user code here
        if (textField3.getString().length() != 0) {//GEN-LINE:|142-if|1|143-preAction
            quincenas = textField3.getString();
            intquincenas = Float.parseFloat(quincenas);
            DescuentoKDRef_Nomina1();//GEN-LINE:|142-if|2|143-postAction
            // write post-action user code here
        } else {//GEN-LINE:|142-if|3|144-preAction
            // write pre-action user code here
            switchDisplayable(null, Alerta_Quincenas_Nomina1);//GEN-LINE:|142-if|4|144-postAction
            // write post-action user code here
        }//GEN-LINE:|142-if|5|142-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|142-if|6|
    //</editor-fold>//GEN-END:|142-if|6|
    //</editor-fold>




    //</editor-fold>




    //</editor-fold>



    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKDRef_Nomina1 ">//GEN-BEGIN:|161-if|0|161-preIf
    /**
     * Performs an action assigned to the DescuentoKDRef_Nomina1 if-point.
     */
    public void DescuentoKDRef_Nomina1() {//GEN-END:|161-if|0|161-preIf
        // enter pre-if user code here
        if (textField6.getString().length() != 0) {//GEN-LINE:|161-if|1|162-preAction
           descuentokdref = textField6.getString();
           intdescuentokdref = Float.parseFloat(descuentokdref);
           DescuentoKDNoRef_Nomina1();//GEN-LINE:|161-if|2|162-postAction
            // write post-action user code here
        } else {//GEN-LINE:|161-if|3|163-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKDRef_Nomina1());//GEN-LINE:|161-if|4|163-postAction
            // write post-action user code here
        }//GEN-LINE:|161-if|5|161-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|161-if|6|
    //</editor-fold>//GEN-END:|161-if|6|
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKDRef_Nomina1 ">//GEN-BEGIN:|165-getter|0|165-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKDRef_Nomina1 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKDRef_Nomina1() {
        if (Alerta_DescuentoKDRef_Nomina1 == null) {//GEN-END:|165-getter|0|165-preInit
            // write pre-init user code here
            Alerta_DescuentoKDRef_Nomina1 = new Alert("", "FALTA DESCUENTO KD REF.", null, AlertType.ERROR);//GEN-BEGIN:|165-getter|1|165-postInit
            Alerta_DescuentoKDRef_Nomina1.addCommand(getBackCommand6());
            Alerta_DescuentoKDRef_Nomina1.setCommandListener(this);
            Alerta_DescuentoKDRef_Nomina1.setTimeout(Alert.FOREVER);//GEN-END:|165-getter|1|165-postInit
            // write post-init user code here
        }//GEN-BEGIN:|165-getter|2|
        return Alerta_DescuentoKDRef_Nomina1;
    }
    //</editor-fold>//GEN-END:|165-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKDNoRef_Nomina1 ">//GEN-BEGIN:|167-if|0|167-preIf
    /**
     * Performs an action assigned to the DescuentoKDNoRef_Nomina1 if-point.
     */
    public void DescuentoKDNoRef_Nomina1() {//GEN-END:|167-if|0|167-preIf
        // enter pre-if user code here
        if (textField7.getString().length() != 0) {//GEN-LINE:|167-if|1|168-preAction
           descuentokdnoref = textField7.getString();
           intdescuentokdnoref = Float.parseFloat(descuentokdnoref);
           DescuentoKD_Valida_Menor_Nomina1();//GEN-LINE:|167-if|2|168-postAction
            // write post-action user code here
        } else {//GEN-LINE:|167-if|3|169-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKDNoRef_Nomina1());//GEN-LINE:|167-if|4|169-postAction
            // write post-action user code here
        }//GEN-LINE:|167-if|5|167-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|167-if|6|
    //</editor-fold>//GEN-END:|167-if|6|
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKDNoRef_Nomina1 ">//GEN-BEGIN:|170-getter|0|170-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKDNoRef_Nomina1 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKDNoRef_Nomina1() {
        if (Alerta_DescuentoKDNoRef_Nomina1 == null) {//GEN-END:|170-getter|0|170-preInit
            // write pre-init user code here
            Alerta_DescuentoKDNoRef_Nomina1 = new Alert("", "FALTA DESCUENTO KD NO REF.", null, AlertType.ERROR);//GEN-BEGIN:|170-getter|1|170-postInit
            Alerta_DescuentoKDNoRef_Nomina1.addCommand(getBackCommand7());
            Alerta_DescuentoKDNoRef_Nomina1.setCommandListener(this);
            Alerta_DescuentoKDNoRef_Nomina1.setTimeout(Alert.FOREVER);//GEN-END:|170-getter|1|170-postInit
            // write post-init user code here
        }//GEN-BEGIN:|170-getter|2|
        return Alerta_DescuentoKDNoRef_Nomina1;
    }
    //</editor-fold>//GEN-END:|170-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKD_Nomina1 ">//GEN-BEGIN:|173-if|0|173-preIf
    /**
     * Performs an action assigned to the DescuentoKD_Nomina1 if-point.
     */
    public void DescuentoKD_Nomina1() {//GEN-END:|173-if|0|173-preIf
        // enter pre-if user code here
        if (textField8.getString().length() != 0) {//GEN-LINE:|173-if|1|174-preAction
            descuentokd = textField8.getString();
            intdescuentokd  = Float.parseFloat(descuentokd);
            Ambos_Campos_Cero_Nomina1();//GEN-LINE:|173-if|2|174-postAction
            // write post-action user code here
        } else {//GEN-LINE:|173-if|3|175-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKD_Nomina1());//GEN-LINE:|173-if|4|175-postAction
            // write post-action user code here
        }//GEN-LINE:|173-if|5|173-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|173-if|6|
    //</editor-fold>//GEN-END:|173-if|6|
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKD_Nomina1 ">//GEN-BEGIN:|176-getter|0|176-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKD_Nomina1 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKD_Nomina1() {
        if (Alerta_DescuentoKD_Nomina1 == null) {//GEN-END:|176-getter|0|176-preInit
            // write pre-init user code here
            Alerta_DescuentoKD_Nomina1 = new Alert("", "FALTA DESCUENTO KD.", null, AlertType.ERROR);//GEN-BEGIN:|176-getter|1|176-postInit
            Alerta_DescuentoKD_Nomina1.addCommand(getBackCommand8());
            Alerta_DescuentoKD_Nomina1.setCommandListener(this);
            Alerta_DescuentoKD_Nomina1.setTimeout(Alert.FOREVER);//GEN-END:|176-getter|1|176-postInit
            // write post-init user code here
        }//GEN-BEGIN:|176-getter|2|
        return Alerta_DescuentoKD_Nomina1;
    }
    //</editor-fold>//GEN-END:|176-getter|2|


    //</editor-fold>




    //</editor-fold>




    //</editor-fold>




    //</editor-fold>



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: logoCeDeTeC ">//GEN-BEGIN:|208-getter|0|208-preInit
    /**
     * Returns an initiliazed instance of logoCeDeTeC component.
     * @return the initialized component instance
     */
    public SplashScreen getLogoCeDeTeC() {
        if (logoCeDeTeC == null) {//GEN-END:|208-getter|0|208-preInit
            // write pre-init user code here
            logoCeDeTeC = new SplashScreen(getDisplay());//GEN-BEGIN:|208-getter|1|208-postInit
            logoCeDeTeC.setTitle("");
            logoCeDeTeC.setCommandListener(this);
            logoCeDeTeC.setFullScreenMode(true);
            logoCeDeTeC.setImage(getImage2());
            logoCeDeTeC.setTimeout(2000);//GEN-END:|208-getter|1|208-postInit
            // write post-init user code here
        }//GEN-BEGIN:|208-getter|2|
        return logoCeDeTeC;
    }
    //</editor-fold>//GEN-END:|208-getter|2|



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand2 ">//GEN-BEGIN:|213-getter|0|213-preInit
    /**
     * Returns an initiliazed instance of exitCommand2 component.
     * @return the initialized component instance
     */
    public Command getExitCommand2() {
        if (exitCommand2 == null) {//GEN-END:|213-getter|0|213-preInit
            // write pre-init user code here
            exitCommand2 = new Command("ATRAS", Command.EXIT, 0);//GEN-LINE:|213-getter|1|213-postInit
            // write post-init user code here
        }//GEN-BEGIN:|213-getter|2|
        return exitCommand2;
    }
    //</editor-fold>//GEN-END:|213-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: image2 ">//GEN-BEGIN:|216-getter|0|216-preInit
    /**
     * Returns an initiliazed instance of image2 component.
     * @return the initialized component instance
     */
    public Image getImage2() {
        if (image2 == null) {//GEN-END:|216-getter|0|216-preInit
            // write pre-init user code here
            try {//GEN-BEGIN:|216-getter|1|216-@java.io.IOException
                image2 = Image.createImage("/LogoCIdETEC small.jpg");
            } catch (java.io.IOException e) {//GEN-END:|216-getter|1|216-@java.io.IOException
                e.printStackTrace();
            }//GEN-LINE:|216-getter|2|216-postInit
            // write post-init user code here
        }//GEN-BEGIN:|216-getter|3|
        return image2;
    }
    //</editor-fold>//GEN-END:|216-getter|3|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand1 ">//GEN-BEGIN:|217-getter|0|217-preInit
    /**
     * Returns an initiliazed instance of backCommand1 component.
     * @return the initialized component instance
     */
    public Command getBackCommand1() {
        if (backCommand1 == null) {//GEN-END:|217-getter|0|217-preInit
            // write pre-init user code here
            backCommand1 = new Command("OK", Command.BACK, 0);//GEN-LINE:|217-getter|1|217-postInit
            // write post-init user code here
        }//GEN-BEGIN:|217-getter|2|
        return backCommand1;
    }
    //</editor-fold>//GEN-END:|217-getter|2|


    //</editor-fold>



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand2 ">//GEN-BEGIN:|233-getter|0|233-preInit
    /**
     * Returns an initiliazed instance of backCommand2 component.
     * @return the initialized component instance
     */
    public Command getBackCommand2() {
        if (backCommand2 == null) {//GEN-END:|233-getter|0|233-preInit
            // write pre-init user code here
            backCommand2 = new Command("OK", Command.BACK, 0);//GEN-LINE:|233-getter|1|233-postInit
            // write post-init user code here
        }//GEN-BEGIN:|233-getter|2|
        return backCommand2;
    }
    //</editor-fold>//GEN-END:|233-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand3 ">//GEN-BEGIN:|236-getter|0|236-preInit
    /**
     * Returns an initiliazed instance of backCommand3 component.
     * @return the initialized component instance
     */
    public Command getBackCommand3() {
        if (backCommand3 == null) {//GEN-END:|236-getter|0|236-preInit
            // write pre-init user code here
            backCommand3 = new Command("OK", Command.BACK, 0);//GEN-LINE:|236-getter|1|236-postInit
            // write post-init user code here
        }//GEN-BEGIN:|236-getter|2|
        return backCommand3;
    }
    //</editor-fold>//GEN-END:|236-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand4 ">//GEN-BEGIN:|239-getter|0|239-preInit
    /**
     * Returns an initiliazed instance of backCommand4 component.
     * @return the initialized component instance
     */
    public Command getBackCommand4() {
        if (backCommand4 == null) {//GEN-END:|239-getter|0|239-preInit
            // write pre-init user code here
            backCommand4 = new Command("OK", Command.BACK, 0);//GEN-LINE:|239-getter|1|239-postInit
            // write post-init user code here
        }//GEN-BEGIN:|239-getter|2|
        return backCommand4;
    }
    //</editor-fold>//GEN-END:|239-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand5 ">//GEN-BEGIN:|242-getter|0|242-preInit
    /**
     * Returns an initiliazed instance of backCommand5 component.
     * @return the initialized component instance
     */
    public Command getBackCommand5() {
        if (backCommand5 == null) {//GEN-END:|242-getter|0|242-preInit
            // write pre-init user code here
            backCommand5 = new Command("OK", Command.BACK, 0);//GEN-LINE:|242-getter|1|242-postInit
            // write post-init user code here
        }//GEN-BEGIN:|242-getter|2|
        return backCommand5;
    }
    //</editor-fold>//GEN-END:|242-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand6 ">//GEN-BEGIN:|245-getter|0|245-preInit
    /**
     * Returns an initiliazed instance of backCommand6 component.
     * @return the initialized component instance
     */
    public Command getBackCommand6() {
        if (backCommand6 == null) {//GEN-END:|245-getter|0|245-preInit
            // write pre-init user code here
            backCommand6 = new Command("OK", Command.BACK, 0);//GEN-LINE:|245-getter|1|245-postInit
            // write post-init user code here
        }//GEN-BEGIN:|245-getter|2|
        return backCommand6;
    }
    //</editor-fold>//GEN-END:|245-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand7 ">//GEN-BEGIN:|248-getter|0|248-preInit
    /**
     * Returns an initiliazed instance of backCommand7 component.
     * @return the initialized component instance
     */
    public Command getBackCommand7() {
        if (backCommand7 == null) {//GEN-END:|248-getter|0|248-preInit
            // write pre-init user code here
            backCommand7 = new Command("OK", Command.BACK, 0);//GEN-LINE:|248-getter|1|248-postInit
            // write post-init user code here
        }//GEN-BEGIN:|248-getter|2|
        return backCommand7;
    }
    //</editor-fold>//GEN-END:|248-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand8 ">//GEN-BEGIN:|251-getter|0|251-preInit
    /**
     * Returns an initiliazed instance of backCommand8 component.
     * @return the initialized component instance
     */
    public Command getBackCommand8() {
        if (backCommand8 == null) {//GEN-END:|251-getter|0|251-preInit
            // write pre-init user code here
            backCommand8 = new Command("OK", Command.BACK, 0);//GEN-LINE:|251-getter|1|251-postInit
            // write post-init user code here
        }//GEN-BEGIN:|251-getter|2|
        return backCommand8;
    }
    //</editor-fold>//GEN-END:|251-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand9 ">//GEN-BEGIN:|254-getter|0|254-preInit
    /**
     * Returns an initiliazed instance of backCommand9 component.
     * @return the initialized component instance
     */
    public Command getBackCommand9() {
        if (backCommand9 == null) {//GEN-END:|254-getter|0|254-preInit
            // write pre-init user code here
            backCommand9 = new Command("OK", Command.BACK, 0);//GEN-LINE:|254-getter|1|254-postInit
            // write post-init user code here
        }//GEN-BEGIN:|254-getter|2|
        return backCommand9;
    }
    //</editor-fold>//GEN-END:|254-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand10 ">//GEN-BEGIN:|258-getter|0|258-preInit
    /**
     * Returns an initiliazed instance of backCommand10 component.
     * @return the initialized component instance
     */
    public Command getBackCommand10() {
        if (backCommand10 == null) {//GEN-END:|258-getter|0|258-preInit
            // write pre-init user code here
            backCommand10 = new Command("OK", Command.BACK, 0);//GEN-LINE:|258-getter|1|258-postInit
            // write post-init user code here
        }//GEN-BEGIN:|258-getter|2|
        return backCommand10;
    }
    //</editor-fold>//GEN-END:|258-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand11 ">//GEN-BEGIN:|261-getter|0|261-preInit
    /**
     * Returns an initiliazed instance of backCommand11 component.
     * @return the initialized component instance
     */
    public Command getBackCommand11() {
        if (backCommand11 == null) {//GEN-END:|261-getter|0|261-preInit
            // write pre-init user code here
            backCommand11 = new Command("OK", Command.BACK, 0);//GEN-LINE:|261-getter|1|261-postInit
            // write post-init user code here
        }//GEN-BEGIN:|261-getter|2|
        return backCommand11;
    }
    //</editor-fold>//GEN-END:|261-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand12 ">//GEN-BEGIN:|264-getter|0|264-preInit
    /**
     * Returns an initiliazed instance of backCommand12 component.
     * @return the initialized component instance
     */
    public Command getBackCommand12() {
        if (backCommand12 == null) {//GEN-END:|264-getter|0|264-preInit
            // write pre-init user code here
            backCommand12 = new Command("OK", Command.BACK, 0);//GEN-LINE:|264-getter|1|264-postInit
            // write post-init user code here
        }//GEN-BEGIN:|264-getter|2|
        return backCommand12;
    }
    //</editor-fold>//GEN-END:|264-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand13 ">//GEN-BEGIN:|267-getter|0|267-preInit
    /**
     * Returns an initiliazed instance of backCommand13 component.
     * @return the initialized component instance
     */
    public Command getBackCommand13() {
        if (backCommand13 == null) {//GEN-END:|267-getter|0|267-preInit
            // write pre-init user code here
            backCommand13 = new Command("OK", Command.BACK, 0);//GEN-LINE:|267-getter|1|267-postInit
            // write post-init user code here
        }//GEN-BEGIN:|267-getter|2|
        return backCommand13;
    }
    //</editor-fold>//GEN-END:|267-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand14 ">//GEN-BEGIN:|270-getter|0|270-preInit
    /**
     * Returns an initiliazed instance of backCommand14 component.
     * @return the initialized component instance
     */
    public Command getBackCommand14() {
        if (backCommand14 == null) {//GEN-END:|270-getter|0|270-preInit
            // write pre-init user code here
            backCommand14 = new Command("OK", Command.BACK, 0);//GEN-LINE:|270-getter|1|270-postInit
            // write post-init user code here
        }//GEN-BEGIN:|270-getter|2|
        return backCommand14;
    }
    //</editor-fold>//GEN-END:|270-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand15 ">//GEN-BEGIN:|273-getter|0|273-preInit
    /**
     * Returns an initiliazed instance of backCommand15 component.
     * @return the initialized component instance
     */
    public Command getBackCommand15() {
        if (backCommand15 == null) {//GEN-END:|273-getter|0|273-preInit
            // write pre-init user code here
            backCommand15 = new Command("OK", Command.BACK, 0);//GEN-LINE:|273-getter|1|273-postInit
            // write post-init user code here
        }//GEN-BEGIN:|273-getter|2|
        return backCommand15;
    }
    //</editor-fold>//GEN-END:|273-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand16 ">//GEN-BEGIN:|275-getter|0|275-preInit
    /**
     * Returns an initiliazed instance of backCommand16 component.
     * @return the initialized component instance
     */
    public Command getBackCommand16() {
        if (backCommand16 == null) {//GEN-END:|275-getter|0|275-preInit
            // write pre-init user code here
            backCommand16 = new Command("OK", Command.BACK, 0);//GEN-LINE:|275-getter|1|275-postInit
            // write post-init user code here
        }//GEN-BEGIN:|275-getter|2|
        return backCommand16;
    }
    //</editor-fold>//GEN-END:|275-getter|2|









    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: tableModel1 ">//GEN-BEGIN:|285-getter|0|285-preInit
    /**
     * Returns an initiliazed instance of tableModel1 component.
     * @return the initialized component instance
     */
    public SimpleTableModel getTableModel1() {
        if (tableModel1 == null) {//GEN-END:|285-getter|0|285-preInit
            // write pre-init user code here
            tableModel1 = new SimpleTableModel(new java.lang.String[][] {//GEN-BEGIN:|285-getter|1|285-postInit
                new java.lang.String[] { "" }}, null);//GEN-END:|285-getter|1|285-postInit
            // write post-init user code here
        }//GEN-BEGIN:|285-getter|2|
        return tableModel1;
    }
    //</editor-fold>//GEN-END:|285-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand3 ">//GEN-BEGIN:|291-getter|0|291-preInit
    /**
     * Returns an initiliazed instance of okCommand3 component.
     * @return the initialized component instance
     */
    public Command getOkCommand3() {
        if (okCommand3 == null) {//GEN-END:|291-getter|0|291-preInit
            // write pre-init user code here
            okCommand3 = new Command("Ok", Command.OK, 0);//GEN-LINE:|291-getter|1|291-postInit
            // write post-init user code here
        }//GEN-BEGIN:|291-getter|2|
        return okCommand3;
    }
    //</editor-fold>//GEN-END:|291-getter|2|





    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: itemCommand ">//GEN-BEGIN:|295-getter|0|295-preInit
    /**
     * Returns an initiliazed instance of itemCommand component.
     * @return the initialized component instance
     */
    public Command getItemCommand() {
        if (itemCommand == null) {//GEN-END:|295-getter|0|295-preInit
            // write pre-init user code here
            itemCommand = new Command("NOMINA UNO", Command.OK, 0);//GEN-LINE:|295-getter|1|295-postInit
            // write post-init user code here
        }//GEN-BEGIN:|295-getter|2|
        return itemCommand;
    }
    //</editor-fold>//GEN-END:|295-getter|2|





    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand4 ">//GEN-BEGIN:|303-getter|0|303-preInit
    /**
     * Returns an initiliazed instance of okCommand4 component.
     * @return the initialized component instance
     */
    public Command getOkCommand4() {
        if (okCommand4 == null) {//GEN-END:|303-getter|0|303-preInit
            // write pre-init user code here
            okCommand4 = new Command("Ok", Command.OK, 0);//GEN-LINE:|303-getter|1|303-postInit
            // write post-init user code here
        }//GEN-BEGIN:|303-getter|2|
        return okCommand4;
    }
    //</editor-fold>//GEN-END:|303-getter|2|
    //</editor-fold>
    //</editor-fold>





        // enter pre-action user code here

                // write pre-action user code here

    //</editor-fold>


    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Valores_Nomina2 ">//GEN-BEGIN:|314-getter|0|314-preInit
    /**
     * Returns an initiliazed instance of Valores_Nomina2 component.
     * @return the initialized component instance
     */
    public Form getValores_Nomina2() {
        if (Valores_Nomina2 == null) {//GEN-END:|314-getter|0|314-preInit
            // write pre-init user code here
            Valores_Nomina2 = new Form("", new Item[] { getStringItem2(), getTextField18(), getTextField19(), getTextField21(), getTextField2(), getTextField13(), getTextField17(), getTextField22(), getTextField23(), getTextField24(), getTextField25() });//GEN-BEGIN:|314-getter|1|314-postInit
            Valores_Nomina2.addCommand(getOkCommand5());
            Valores_Nomina2.addCommand(getExitCommand4());
            Valores_Nomina2.setCommandListener(this);//GEN-END:|314-getter|1|314-postInit
            // write post-init user code here
        }//GEN-BEGIN:|314-getter|2|
        return Valores_Nomina2;
    }
    //</editor-fold>//GEN-END:|314-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand5 ">//GEN-BEGIN:|318-getter|0|318-preInit
    /**
     * Returns an initiliazed instance of okCommand5 component.
     * @return the initialized component instance
     */
    public Command getOkCommand5() {
        if (okCommand5 == null) {//GEN-END:|318-getter|0|318-preInit
            // write pre-init user code here
            okCommand5 = new Command("CALCULAR", Command.OK, 0);//GEN-LINE:|318-getter|1|318-postInit
            // write post-init user code here
        }//GEN-BEGIN:|318-getter|2|
        return okCommand5;
    }
    //</editor-fold>//GEN-END:|318-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand6 ">//GEN-BEGIN:|321-getter|0|321-preInit
    /**
     * Returns an initiliazed instance of okCommand6 component.
     * @return the initialized component instance
     */
    public Command getOkCommand6() {
        if (okCommand6 == null) {//GEN-END:|321-getter|0|321-preInit
            // write pre-init user code here
            okCommand6 = new Command("Ok", Command.OK, 0);//GEN-LINE:|321-getter|1|321-postInit
            // write post-init user code here
        }//GEN-BEGIN:|321-getter|2|
        return okCommand6;
    }
    //</editor-fold>//GEN-END:|321-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand7 ">//GEN-BEGIN:|324-getter|0|324-preInit
    /**
     * Returns an initiliazed instance of okCommand7 component.
     * @return the initialized component instance
     */
    public Command getOkCommand7() {
        if (okCommand7 == null) {//GEN-END:|324-getter|0|324-preInit
            // write pre-init user code here
            okCommand7 = new Command("Ok", Command.OK, 0);//GEN-LINE:|324-getter|1|324-postInit
            // write post-init user code here
        }//GEN-BEGIN:|324-getter|2|
        return okCommand7;
    }
    //</editor-fold>//GEN-END:|324-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: unaNomina_o_dosNominas ">//GEN-BEGIN:|328-if|0|328-preIf
    /**
     * Performs an action assigned to the unaNomina_o_dosNominas if-point.
     */
    public void unaNomina_o_dosNominas() {//GEN-END:|328-if|0|328-preIf
        // enter pre-if user code here
        if (nomina == 1) {//GEN-LINE:|328-if|1|329-preAction
            // write pre-action user code here
            switchDisplayable(null, getCapacidad_Pago_Nomina1());//GEN-LINE:|328-if|2|329-postAction
            // write post-action user code here
        } else {//GEN-LINE:|328-if|3|330-preAction

 // write pre-action user code here
            switchDisplayable(null, getValores_Nomina2());//GEN-LINE:|328-if|4|330-postAction
            // write post-action user code here
        }//GEN-LINE:|328-if|5|328-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|328-if|6|
    //</editor-fold>//GEN-END:|328-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: itemCommand1 ">//GEN-BEGIN:|342-getter|0|342-preInit
    /**
     * Returns an initiliazed instance of itemCommand1 component.
     * @return the initialized component instance
     */
    public Command getItemCommand1() {
        if (itemCommand1 == null) {//GEN-END:|342-getter|0|342-preInit
            // write pre-init user code here
            itemCommand1 = new Command("Item", Command.ITEM, 0);//GEN-LINE:|342-getter|1|342-postInit
            // write post-init user code here
        }//GEN-BEGIN:|342-getter|2|
        return itemCommand1;
    }
    //</editor-fold>//GEN-END:|342-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: ticker ">//GEN-BEGIN:|344-getter|0|344-preInit
    /**
     * Returns an initiliazed instance of ticker component.
     * @return the initialized component instance
     */
    public Ticker getTicker() {
        if (ticker == null) {//GEN-END:|344-getter|0|344-preInit
            // write pre-init user code here
            ticker = new Ticker("");//GEN-LINE:|344-getter|1|344-postInit
            // write post-init user code here
        }//GEN-BEGIN:|344-getter|2|
        return ticker;
    }
    //</editor-fold>//GEN-END:|344-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand3 ">//GEN-BEGIN:|352-getter|0|352-preInit
    /**
     * Returns an initiliazed instance of exitCommand3 component.
     * @return the initialized component instance
     */
    public Command getExitCommand3() {
        if (exitCommand3 == null) {//GEN-END:|352-getter|0|352-preInit
            // write pre-init user code here
            exitCommand3 = new Command("Exit", Command.EXIT, 0);//GEN-LINE:|352-getter|1|352-postInit
            // write post-init user code here
        }//GEN-BEGIN:|352-getter|2|
        return exitCommand3;
    }
    //</editor-fold>//GEN-END:|352-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand8 ">//GEN-BEGIN:|354-getter|0|354-preInit
    /**
     * Returns an initiliazed instance of okCommand8 component.
     * @return the initialized component instance
     */
    public Command getOkCommand8() {
        if (okCommand8 == null) {//GEN-END:|354-getter|0|354-preInit
            // write pre-init user code here
            okCommand8 = new Command("Ok", Command.OK, 0);//GEN-LINE:|354-getter|1|354-postInit
            // write post-init user code here
        }//GEN-BEGIN:|354-getter|2|
        return okCommand8;
    }
    //</editor-fold>//GEN-END:|354-getter|2|





    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: font ">//GEN-BEGIN:|357-getter|0|357-preInit
    /**
     * Returns an initiliazed instance of font component.
     * @return the initialized component instance
     */
    public Font getFont() {
        if (font == null) {//GEN-END:|357-getter|0|357-preInit
            // write pre-init user code here
            font = Font.getDefaultFont();//GEN-LINE:|357-getter|1|357-postInit
            // write post-init user code here
        }//GEN-BEGIN:|357-getter|2|
        return font;
    }
    //</editor-fold>//GEN-END:|357-getter|2|



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand4 ">//GEN-BEGIN:|368-getter|0|368-preInit
    /**
     * Returns an initiliazed instance of exitCommand4 component.
     * @return the initialized component instance
     */
    public Command getExitCommand4() {
        if (exitCommand4 == null) {//GEN-END:|368-getter|0|368-preInit
            // write pre-init user code here
            exitCommand4 = new Command("SALIR", Command.EXIT, 0);//GEN-LINE:|368-getter|1|368-postInit
            // write post-init user code here
        }//GEN-BEGIN:|368-getter|2|
        return exitCommand4;
    }
    //</editor-fold>//GEN-END:|368-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: stringItem2 ">//GEN-BEGIN:|371-getter|0|371-preInit
    /**
     * Returns an initiliazed instance of stringItem2 component.
     * @return the initialized component instance
     */
    public StringItem getStringItem2() {
        if (stringItem2 == null) {//GEN-END:|371-getter|0|371-preInit
            // write pre-init user code here
            stringItem2 = new StringItem("NOMINA FISICA 2", null);//GEN-BEGIN:|371-getter|1|371-postInit
            stringItem2.setLayout(ImageItem.LAYOUT_CENTER | Item.LAYOUT_TOP | Item.LAYOUT_BOTTOM | Item.LAYOUT_VCENTER | Item.LAYOUT_2);//GEN-END:|371-getter|1|371-postInit
            // write post-init user code here
        }//GEN-BEGIN:|371-getter|2|
        return stringItem2;
    }
    //</editor-fold>//GEN-END:|371-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField18 ">//GEN-BEGIN:|372-getter|0|372-preInit
    /**
     * Returns an initiliazed instance of textField18 component.
     * @return the initialized component instance
     */
    public TextField getTextField18() {
        if (textField18 == null) {//GEN-END:|372-getter|0|372-preInit
            // write pre-init user code here
            textField18 = new TextField("Quincena que Abarca:", "1", 32, TextField.DECIMAL);//GEN-LINE:|372-getter|1|372-postInit
            // write post-init user code here
        }//GEN-BEGIN:|372-getter|2|
        return textField18;
    }
    //</editor-fold>//GEN-END:|372-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField19 ">//GEN-BEGIN:|373-getter|0|373-preInit
    /**
     * Returns an initiliazed instance of textField19 component.
     * @return the initialized component instance
     */
    public TextField getTextField19() {
        if (textField19 == null) {//GEN-END:|373-getter|0|373-preInit
            // write pre-init user code here
            textField19 = new TextField("Percepciones:", null, 32, TextField.DECIMAL);//GEN-LINE:|373-getter|1|373-postInit
            // write post-init user code here
        }//GEN-BEGIN:|373-getter|2|
        return textField19;
    }
    //</editor-fold>//GEN-END:|373-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField21 ">//GEN-BEGIN:|374-getter|0|374-preInit
    /**
     * Returns an initiliazed instance of textField21 component.
     * @return the initialized component instance
     */
    public TextField getTextField21() {
        if (textField21 == null) {//GEN-END:|374-getter|0|374-preInit
            // write pre-init user code here
            textField21 = new TextField("L\u00EDquido:", null, 32, TextField.DECIMAL);//GEN-LINE:|374-getter|1|374-postInit
            // write post-init user code here
        }//GEN-BEGIN:|374-getter|2|
        return textField21;
    }
    //</editor-fold>//GEN-END:|374-getter|2|



    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKD_Valida_Menor_Nomina1 ">//GEN-BEGIN:|389-if|0|389-preIf
    /**
     * Performs an action assigned to the DescuentoKD_Valida_Menor_Nomina1 if-point.
     */
    public void DescuentoKD_Valida_Menor_Nomina1() {//GEN-END:|389-if|0|389-preIf
        // enter pre-if user code here
        if (textField8.getString().length() <=  textField3.getString().length()) {//GEN-LINE:|389-if|1|390-preAction
            // write pre-action user code here
            DescuentoKD_Nomina1();//GEN-LINE:|389-if|2|390-postAction
            // write post-action user code here
        } else {//GEN-LINE:|389-if|3|391-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKD_Valida_Menor_Nomina1());//GEN-LINE:|389-if|4|391-postAction
            // write post-action user code here
        }//GEN-LINE:|389-if|5|389-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|389-if|6|
    //</editor-fold>//GEN-END:|389-if|6|
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKD_Valida_Menor_Nomina1 ">//GEN-BEGIN:|392-getter|0|392-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKD_Valida_Menor_Nomina1 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKD_Valida_Menor_Nomina1() {
        if (Alerta_DescuentoKD_Valida_Menor_Nomina1 == null) {//GEN-END:|392-getter|0|392-preInit
            // write pre-init user code here
            Alerta_DescuentoKD_Valida_Menor_Nomina1 = new Alert("", "CANT. QUINC. DEL DESCUENTO KD DEBE SER MENOR A QUINCENAS QUE ABARCA", null, AlertType.ERROR);//GEN-BEGIN:|392-getter|1|392-postInit
            Alerta_DescuentoKD_Valida_Menor_Nomina1.addCommand(getOkCommand9());
            Alerta_DescuentoKD_Valida_Menor_Nomina1.setCommandListener(this);
            Alerta_DescuentoKD_Valida_Menor_Nomina1.setTimeout(Alert.FOREVER);//GEN-END:|392-getter|1|392-postInit
            // write post-init user code here
        }//GEN-BEGIN:|392-getter|2|
        return Alerta_DescuentoKD_Valida_Menor_Nomina1;
    }
    //</editor-fold>//GEN-END:|392-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand9 ">//GEN-BEGIN:|398-getter|0|398-preInit
    /**
     * Returns an initiliazed instance of okCommand9 component.
     * @return the initialized component instance
     */
    public Command getOkCommand9() {
        if (okCommand9 == null) {//GEN-END:|398-getter|0|398-preInit
            // write pre-init user code here
            okCommand9 = new Command("Ok", Command.OK, 0);//GEN-LINE:|398-getter|1|398-postInit
            // write post-init user code here
        }//GEN-BEGIN:|398-getter|2|
        return okCommand9;
    }
    //</editor-fold>//GEN-END:|398-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: screenCommand1 ">//GEN-BEGIN:|407-getter|0|407-preInit
    /**
     * Returns an initiliazed instance of screenCommand1 component.
     * @return the initialized component instance
     */
    public Command getScreenCommand1() {
        if (screenCommand1 == null) {//GEN-END:|407-getter|0|407-preInit
            // write pre-init user code here
            screenCommand1 = new Command("Screen", Command.SCREEN, 0);//GEN-LINE:|407-getter|1|407-postInit
            // write post-init user code here
        }//GEN-BEGIN:|407-getter|2|
        return screenCommand1;
    }
    //</editor-fold>//GEN-END:|407-getter|2|



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: screenCommand2 ">//GEN-BEGIN:|410-getter|0|410-preInit
    /**
     * Returns an initiliazed instance of screenCommand2 component.
     * @return the initialized component instance
     */
    public Command getScreenCommand2() {
        if (screenCommand2 == null) {//GEN-END:|410-getter|0|410-preInit
           // System.out.println("nomina"+nomina);
            if(nomina == 1)
            // write pre-init user code here
                screenCommand2 = new Command("DICTAMEN", Command.SCREEN, 0);//GEN-LINE:|410-getter|1|410-postInit
            else
                screenCommand2 = new Command("NOMINA 2", Command.SCREEN, 0);
            // write post-init user code here
        }//GEN-BEGIN:|410-getter|2|
        return screenCommand2;
    }
    //</editor-fold>//GEN-END:|410-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: screenCommand3 ">//GEN-BEGIN:|416-getter|0|416-preInit
    /**
     * Returns an initiliazed instance of screenCommand3 component.
     * @return the initialized component instance
     */
    public Command getScreenCommand3() {
        if (screenCommand3 == null) {//GEN-END:|416-getter|0|416-preInit
            // write pre-init user code here
            screenCommand3 = new Command("NOMINA 2", Command.SCREEN, 0);//GEN-LINE:|416-getter|1|416-postInit
            // write post-init user code here
        }//GEN-BEGIN:|416-getter|2|
        return screenCommand3;
    }
    //</editor-fold>//GEN-END:|416-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: spacer ">//GEN-BEGIN:|421-getter|0|421-preInit
    /**
     * Returns an initiliazed instance of spacer component.
     * @return the initialized component instance
     */
    public Spacer getSpacer() {
        if (spacer == null) {//GEN-END:|421-getter|0|421-preInit
            // write pre-init user code here
            spacer = new Spacer(16, 1);//GEN-LINE:|421-getter|1|421-postInit
            // write post-init user code here
        }//GEN-BEGIN:|421-getter|2|
        return spacer;
    }
    //</editor-fold>//GEN-END:|421-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField2 ">//GEN-BEGIN:|422-getter|0|422-preInit
    /**
     * Returns an initiliazed instance of textField2 component.
     * @return the initialized component instance
     */
    public TextField getTextField2() {
        if (textField2 == null) {//GEN-END:|422-getter|0|422-preInit
            // write pre-init user code here
            textField2 = new TextField("Descuento KD REF:", null, 32, TextField.DECIMAL);//GEN-LINE:|422-getter|1|422-postInit
            // write post-init user code here
        }//GEN-BEGIN:|422-getter|2|
        return textField2;
    }
    //</editor-fold>//GEN-END:|422-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField13 ">//GEN-BEGIN:|423-getter|0|423-preInit
    /**
     * Returns an initiliazed instance of textField13 component.
     * @return the initialized component instance
     */
    public TextField getTextField13() {
        if (textField13 == null) {//GEN-END:|423-getter|0|423-preInit
            // write pre-init user code here
            textField13 = new TextField("Descuento KD No REF:", null, 32, TextField.DECIMAL);//GEN-LINE:|423-getter|1|423-postInit
            // write post-init user code here
        }//GEN-BEGIN:|423-getter|2|
        return textField13;
    }
    //</editor-fold>//GEN-END:|423-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField17 ">//GEN-BEGIN:|424-getter|0|424-preInit
    /**
     * Returns an initiliazed instance of textField17 component.
     * @return the initialized component instance
     */
    public TextField getTextField17() {
        if (textField17 == null) {//GEN-END:|424-getter|0|424-preInit
            // write pre-init user code here
            textField17 = new TextField("Cant. Quinc. del Descuento KD:", "1", 32, TextField.DECIMAL);//GEN-LINE:|424-getter|1|424-postInit
            // write post-init user code here
        }//GEN-BEGIN:|424-getter|2|
        return textField17;
    }
    //</editor-fold>//GEN-END:|424-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField22 ">//GEN-BEGIN:|425-getter|0|425-preInit
    /**
     * Returns an initiliazed instance of textField22 component.
     * @return the initialized component instance
     */
    public TextField getTextField22() {
        if (textField22 == null) {//GEN-END:|425-getter|0|425-preInit
            // write pre-init user code here
            textField22 = new TextField("Bono 1:", null, 32, TextField.DECIMAL);//GEN-LINE:|425-getter|1|425-postInit
            // write post-init user code here
        }//GEN-BEGIN:|425-getter|2|
        return textField22;
    }
    //</editor-fold>//GEN-END:|425-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField23 ">//GEN-BEGIN:|426-getter|0|426-preInit
    /**
     * Returns an initiliazed instance of textField23 component.
     * @return the initialized component instance
     */
    public TextField getTextField23() {
        if (textField23 == null) {//GEN-END:|426-getter|0|426-preInit
            // write pre-init user code here
            textField23 = new TextField("Bono 2:", null, 32, TextField.DECIMAL);//GEN-LINE:|426-getter|1|426-postInit
            // write post-init user code here
        }//GEN-BEGIN:|426-getter|2|
        return textField23;
    }
    //</editor-fold>//GEN-END:|426-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField24 ">//GEN-BEGIN:|427-getter|0|427-preInit
    /**
     * Returns an initiliazed instance of textField24 component.
     * @return the initialized component instance
     */
    public TextField getTextField24() {
        if (textField24 == null) {//GEN-END:|427-getter|0|427-preInit
            // write pre-init user code here
            textField24 = new TextField("Bono 3:", null, 32, TextField.DECIMAL);//GEN-LINE:|427-getter|1|427-postInit
            // write post-init user code here
        }//GEN-BEGIN:|427-getter|2|
        return textField24;
    }
    //</editor-fold>//GEN-END:|427-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField25 ">//GEN-BEGIN:|428-getter|0|428-preInit
    /**
     * Returns an initiliazed instance of textField25 component.
     * @return the initialized component instance
     */
    public TextField getTextField25() {
        if (textField25 == null) {//GEN-END:|428-getter|0|428-preInit
            // write pre-init user code here
            textField25 = new TextField("Bono 4:", null, 32, TextField.DECIMAL);//GEN-LINE:|428-getter|1|428-postInit
            // write post-init user code here
        }//GEN-BEGIN:|428-getter|2|
        return textField25;
    }
    //</editor-fold>//GEN-END:|428-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand10 ">//GEN-BEGIN:|433-getter|0|433-preInit
    /**
     * Returns an initiliazed instance of okCommand10 component.
     * @return the initialized component instance
     */
    public Command getOkCommand10() {
        if (okCommand10 == null) {//GEN-END:|433-getter|0|433-preInit
            // write pre-init user code here
            okCommand10 = new Command("CAPTURA N\u00D3MINAS", Command.OK, 0);//GEN-LINE:|433-getter|1|433-postInit
            // write post-init user code here
        }//GEN-BEGIN:|433-getter|2|
        return okCommand10;
    }
    //</editor-fold>//GEN-END:|433-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Menu_Nominas_Desc_Solicita ">//GEN-BEGIN:|429-getter|0|429-preInit
    /**
     * Returns an initiliazed instance of Menu_Nominas_Desc_Solicita component.
     * @return the initialized component instance
     */
    public Form getMenu_Nominas_Desc_Solicita() {
        if (Menu_Nominas_Desc_Solicita == null) {//GEN-END:|429-getter|0|429-preInit
            // write pre-init user code here
            Menu_Nominas_Desc_Solicita = new Form("CALCULADORA DE L\uFFFD?QUIDO", new Item[] { getTextField(), getStringItem1(), getChoiceGroup() });//GEN-BEGIN:|429-getter|1|429-postInit
            Menu_Nominas_Desc_Solicita.addCommand(getOkCommand10());
            Menu_Nominas_Desc_Solicita.addCommand(getExitCommand5());
            Menu_Nominas_Desc_Solicita.setCommandListener(this);//GEN-END:|429-getter|1|429-postInit
            // write post-init user code here
        }//GEN-BEGIN:|429-getter|2|
        return Menu_Nominas_Desc_Solicita;
    }
    //</editor-fold>//GEN-END:|429-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: choiceGroup ">//GEN-BEGIN:|430-getter|0|430-preInit
    /**
     * Returns an initiliazed instance of choiceGroup component.
     * @return the initialized component instance
     */
    public ChoiceGroup getChoiceGroup() {
        if (choiceGroup == null) {//GEN-END:|430-getter|0|430-preInit
            // write pre-init user code here
            choiceGroup = new ChoiceGroup("", Choice.EXCLUSIVE);//GEN-BEGIN:|430-getter|1|430-postInit
            choiceGroup.append("Una N\u00F3mina", null);
            choiceGroup.append("Dos N\u00F3minas", null);
            choiceGroup.append("Tres N\u00F3minas", null);
            choiceGroup.append("Cuatro N\u00F3minas", null);
            choiceGroup.setSelectedFlags(new boolean[] { false, false, false, false });//GEN-END:|430-getter|1|430-postInit
            // write post-init user code here
        }//GEN-BEGIN:|430-getter|2|
        return choiceGroup;
    }
    //</editor-fold>//GEN-END:|430-getter|2|



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField ">//GEN-BEGIN:|438-getter|0|438-preInit
    /**
     * Returns an initiliazed instance of textField component.
     * @return the initialized component instance
     */
    public TextField getTextField() {
        if (textField == null) {//GEN-END:|438-getter|0|438-preInit
            // write pre-init user code here
            textField = new TextField("Descuento Cr\u00E9dito que Solicita:", null, 32, TextField.DECIMAL);//GEN-LINE:|438-getter|1|438-postInit
            // write post-init user code here
        }//GEN-BEGIN:|438-getter|2|
        return textField;
    }
    //</editor-fold>//GEN-END:|438-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand5 ">//GEN-BEGIN:|441-getter|0|441-preInit
    /**
     * Returns an initiliazed instance of exitCommand5 component.
     * @return the initialized component instance
     */
    public Command getExitCommand5() {
        if (exitCommand5 == null) {//GEN-END:|441-getter|0|441-preInit
            // write pre-init user code here
            exitCommand5 = new Command("SALIR", Command.EXIT, 0);//GEN-LINE:|441-getter|1|441-postInit
            // write post-init user code here
        }//GEN-BEGIN:|441-getter|2|
        return exitCommand5;
    }
    //</editor-fold>//GEN-END:|441-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: stringItem1 ">//GEN-BEGIN:|444-getter|0|444-preInit
    /**
     * Returns an initiliazed instance of stringItem1 component.
     * @return the initialized component instance
     */
    public StringItem getStringItem1() {
        if (stringItem1 == null) {//GEN-END:|444-getter|0|444-preInit
            // write pre-init user code here
            stringItem1 = new StringItem("N\u00F3minas a capturar:", null);//GEN-LINE:|444-getter|1|444-postInit
            // write post-init user code here
        }//GEN-BEGIN:|444-getter|2|
        return stringItem1;
    }
    //</editor-fold>//GEN-END:|444-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Quincenas_Nomina2 ">//GEN-BEGIN:|447-if|0|447-preIf
    /**
     * Performs an action assigned to the Quincenas_Nomina2 if-point.
     */
    public void Quincenas_Nomina2() {//GEN-END:|447-if|0|447-preIf
        // enter pre-if user code here
        if (textField18.getString().length() != 0) {//GEN-LINE:|447-if|1|448-preAction
           quincenas1 = textField18.getString();
           intquincenas1 = Float.parseFloat(quincenas1);
           DescuentoKDRef_Nomina2();//GEN-LINE:|447-if|2|448-postAction
            // write post-action user code here
        } else {//GEN-LINE:|447-if|3|449-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Quincenas_Nomina2());//GEN-LINE:|447-if|4|449-postAction
            // write post-action user code here
        }//GEN-LINE:|447-if|5|447-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|447-if|6|
    //</editor-fold>//GEN-END:|447-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand6 ">//GEN-BEGIN:|452-getter|0|452-preInit
    /**
     * Returns an initiliazed instance of exitCommand6 component.
     * @return the initialized component instance
     */
    public Command getExitCommand6() {
        if (exitCommand6 == null) {//GEN-END:|452-getter|0|452-preInit
            // write pre-init user code here
            exitCommand6 = new Command("Exit", Command.EXIT, 0);//GEN-LINE:|452-getter|1|452-postInit
            // write post-init user code here
        }//GEN-BEGIN:|452-getter|2|
        return exitCommand6;
    }
    //</editor-fold>//GEN-END:|452-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand17 ">//GEN-BEGIN:|456-getter|0|456-preInit
    /**
     * Returns an initiliazed instance of backCommand17 component.
     * @return the initialized component instance
     */
    public Command getBackCommand17() {
        if (backCommand17 == null) {//GEN-END:|456-getter|0|456-preInit
            // write pre-init user code here
            backCommand17 = new Command("Back", Command.BACK, 0);//GEN-LINE:|456-getter|1|456-postInit
            // write post-init user code here
        }//GEN-BEGIN:|456-getter|2|
        return backCommand17;
    }
    //</editor-fold>//GEN-END:|456-getter|2|
    //</editor-fold>
    //</editor-fold>
//</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Quincenas_Nomina2 ">//GEN-BEGIN:|451-getter|0|451-preInit
    /**
     * Returns an initiliazed instance of Alerta_Quincenas_Nomina2 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Quincenas_Nomina2() {
        if (Alerta_Quincenas_Nomina2 == null) {//GEN-END:|451-getter|0|451-preInit
            // write pre-init user code here
            Alerta_Quincenas_Nomina2 = new Alert("", "FALTA QUINCENAS.", null, AlertType.ERROR);//GEN-BEGIN:|451-getter|1|451-postInit
            Alerta_Quincenas_Nomina2.addCommand(getBackCommand17());
            Alerta_Quincenas_Nomina2.setCommandListener(this);
            Alerta_Quincenas_Nomina2.setTimeout(Alert.FOREVER);//GEN-END:|451-getter|1|451-postInit
            // write post-init user code here
        }//GEN-BEGIN:|451-getter|2|
        return Alerta_Quincenas_Nomina2;
    }
    //</editor-fold>//GEN-END:|451-getter|2|
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Capacidad_Pago_Nomina1 ">//GEN-BEGIN:|463-getter|0|463-preInit
    /**
     * Returns an initiliazed instance of Capacidad_Pago_Nomina1 component.
     * @return the initialized component instance
     */
    public Form getCapacidad_Pago_Nomina1() {
        if (Capacidad_Pago_Nomina1 == null) {//GEN-END:|463-getter|0|463-preInit
            // write pre-init user code here
            Capacidad_Pago_Nomina1 = new Form("form", new Item[] { getTextField1(), getTextField20() });//GEN-BEGIN:|463-getter|1|463-postInit
            Capacidad_Pago_Nomina1.addCommand(getScreenCommand5());
            Capacidad_Pago_Nomina1.addCommand(getExitCommand7());
            Capacidad_Pago_Nomina1.setCommandListener(this);//GEN-END:|463-getter|1|463-postInit
            //**********DECLARACIÓN DEL ARREGLO PARA SACAR LOS MINIMOS*********

             float compara[] = {intporcientoliquido, intce, intcp};

             if(intporcientoliquido == 0 && intce == 0 && intcp == 0)
             {
               intporcientoliquido = 1000000;
               intce = 1000000;
               intcp = 1000000;
             }

                menor = 0;
                for (int x = 0; x < compara.length; x++ )
                {
                  if (compara[x]<menor)
                  {
                    menor = compara[x];
                  }else
                   {
                      if(menor == 0 )
                      {
                        menor = compara[x];
                      }
                   }
                }
                textField20.setString("" + menor);

         //************CODIGO PARA ENCONTRAR EL % "DESCUENTO CREDITO QUE SOLICITA"
         float compara1[] = {intliquidosinbonos};

         // float compara1[] = new float[1] ;
             if(intliquidosinbonos == 0)
             {
               intliquidosinbonos = 1000000f;
                compara1[0]=intliquidosinbonos;
             }

          menor1 = 0f;
          for ( int x = 0; x < compara1.length; x++ )
           {
             //System.out.println(compara1[
              if (compara1[x]<=menor1)
               {
                   menor1 = compara1[x];
               }else
                   {
                     if(menor1 == 0 )
                      {
                        menor1 = compara1[x];
                      }
                   }
                }

                intporcientodescuentosolicita = (intdescuentocsolicita/menor1)*100;

                textField1.setString("" + intporcientodescuentosolicita );
        }//GEN-BEGIN:|463-getter|2|
        return Capacidad_Pago_Nomina1;
    }
    //</editor-fold>//GEN-END:|463-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField1 ">//GEN-BEGIN:|464-getter|0|464-preInit
    /**
     * Returns an initiliazed instance of textField1 component.
     * @return the initialized component instance
     */
    public TextField getTextField1() {
        if (textField1 == null) {//GEN-END:|464-getter|0|464-preInit
            // write pre-init user code here
            textField1 = new TextField("Descuento Cr\u00E9dito que Solicita %:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|464-getter|1|464-postInit
            // write post-init user code here
        }//GEN-BEGIN:|464-getter|2|
        return textField1;
    }
    //</editor-fold>//GEN-END:|464-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField20 ">//GEN-BEGIN:|465-getter|0|465-preInit
    /**
     * Returns an initiliazed instance of textField20 component.
     * @return the initialized component instance
     */
    public TextField getTextField20() {
        if (textField20 == null) {//GEN-END:|465-getter|0|465-preInit
            // write pre-init user code here
            textField20 = new TextField("Capacidad de Pago de la Operaci\u00F3n:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|465-getter|1|465-postInit
            // write post-init user code here
        }//GEN-BEGIN:|465-getter|2|
        return textField20;
    }
    //</editor-fold>//GEN-END:|465-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: screenCommand4 ">//GEN-BEGIN:|467-getter|0|467-preInit
    /**
     * Returns an initiliazed instance of screenCommand4 component.
     * @return the initialized component instance
     */
    public Command getScreenCommand4() {
        if (screenCommand4 == null) {//GEN-END:|467-getter|0|467-preInit
            // write pre-init user code here
            screenCommand4 = new Command("Screen", Command.SCREEN, 0);//GEN-LINE:|467-getter|1|467-postInit
            // write post-init user code here
        }//GEN-BEGIN:|467-getter|2|
        return screenCommand4;
    }
    //</editor-fold>//GEN-END:|467-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand11 ">//GEN-BEGIN:|470-getter|0|470-preInit
    /**
     * Returns an initiliazed instance of okCommand11 component.
     * @return the initialized component instance
     */
    public Command getOkCommand11() {
        if (okCommand11 == null) {//GEN-END:|470-getter|0|470-preInit
            // write pre-init user code here
            okCommand11 = new Command("Ok", Command.OK, 0);//GEN-LINE:|470-getter|1|470-postInit
            // write post-init user code here
        }//GEN-BEGIN:|470-getter|2|
        return okCommand11;
    }
    //</editor-fold>//GEN-END:|470-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: screenCommand5 ">//GEN-BEGIN:|473-getter|0|473-preInit
    /**
     * Returns an initiliazed instance of screenCommand5 component.
     * @return the initialized component instance
     */
    public Command getScreenCommand5() {
        if (screenCommand5 == null) {//GEN-END:|473-getter|0|473-preInit
            // write pre-init user code here
            screenCommand5 = new Command("DICTAMEN", Command.SCREEN, 0);//GEN-LINE:|473-getter|1|473-postInit
            // write post-init user code here
        }//GEN-BEGIN:|473-getter|2|
        return screenCommand5;
    }
    //</editor-fold>//GEN-END:|473-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand12 ">//GEN-BEGIN:|476-getter|0|476-preInit
    /**
     * Returns an initiliazed instance of okCommand12 component.
     * @return the initialized component instance
     */
    public Command getOkCommand12() {
        if (okCommand12 == null) {//GEN-END:|476-getter|0|476-preInit
            if(nomina == 1)
                okCommand12 = new Command("LIQUIDEZ", Command.OK, 0);//GEN-LINE:|476-getter|1|476-postInit
            else
                okCommand12 = new Command("NOMINA 2", Command.OK, 0);
        }//GEN-BEGIN:|476-getter|2|
        return okCommand12;
    }
    //</editor-fold>//GEN-END:|476-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand7 ">//GEN-BEGIN:|479-getter|0|479-preInit
    /**
     * Returns an initiliazed instance of exitCommand7 component.
     * @return the initialized component instance
     */
    public Command getExitCommand7() {
        if (exitCommand7 == null) {//GEN-END:|479-getter|0|479-preInit
            // write pre-init user code here
            exitCommand7 = new Command("SALIR", Command.EXIT, 0);//GEN-LINE:|479-getter|1|479-postInit
            // write post-init user code here
        }//GEN-BEGIN:|479-getter|2|
        return exitCommand7;
    }
    //</editor-fold>//GEN-END:|479-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKDRef_Nomina2 ">//GEN-BEGIN:|482-if|0|482-preIf
    /**
     * Performs an action assigned to the DescuentoKDRef_Nomina2 if-point.
     */
    public void DescuentoKDRef_Nomina2() {//GEN-END:|482-if|0|482-preIf
        // enter pre-if user code here
        if (textField2.getString().length() != 0) {//GEN-LINE:|482-if|1|483-preAction
           descuentokdref1 = textField2.getString();
           intdescuentokdref1 = Float.parseFloat(descuentokdref1);
           DescuentoKDNoRef_Nomina2();//GEN-LINE:|482-if|2|483-postAction
            // write post-action user code here
        } else {//GEN-LINE:|482-if|3|484-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKDRef_Nomina2());//GEN-LINE:|482-if|4|484-postAction
            // write post-action user code here
        }//GEN-LINE:|482-if|5|482-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|482-if|6|
    //</editor-fold>//GEN-END:|482-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand18 ">//GEN-BEGIN:|487-getter|0|487-preInit
    /**
     * Returns an initiliazed instance of backCommand18 component.
     * @return the initialized component instance
     */
    public Command getBackCommand18() {
        if (backCommand18 == null) {//GEN-END:|487-getter|0|487-preInit
            // write pre-init user code here
            backCommand18 = new Command("Back", Command.BACK, 0);//GEN-LINE:|487-getter|1|487-postInit
            // write post-init user code here
        }//GEN-BEGIN:|487-getter|2|
        return backCommand18;
    }
    //</editor-fold>//GEN-END:|487-getter|2|
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKDRef_Nomina2 ">//GEN-BEGIN:|486-getter|0|486-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKDRef_Nomina2 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKDRef_Nomina2() {
        if (Alerta_DescuentoKDRef_Nomina2 == null) {//GEN-END:|486-getter|0|486-preInit
            // write pre-init user code here
            Alerta_DescuentoKDRef_Nomina2 = new Alert("alert1", "FALTA DESCUENTO KD REF.", null, null);//GEN-BEGIN:|486-getter|1|486-postInit
            Alerta_DescuentoKDRef_Nomina2.addCommand(getBackCommand18());
            Alerta_DescuentoKDRef_Nomina2.setCommandListener(this);
            Alerta_DescuentoKDRef_Nomina2.setTimeout(Alert.FOREVER);//GEN-END:|486-getter|1|486-postInit
            // write post-init user code here
        }//GEN-BEGIN:|486-getter|2|
        return Alerta_DescuentoKDRef_Nomina2;
    }
    //</editor-fold>//GEN-END:|486-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKDNoRef_Nomina2 ">//GEN-BEGIN:|492-if|0|492-preIf
    /**
     * Performs an action assigned to the DescuentoKDNoRef_Nomina2 if-point.
     */
    public void DescuentoKDNoRef_Nomina2() {//GEN-END:|492-if|0|492-preIf
        // enter pre-if user code here
        if (textField13.getString().length() != 0) {//GEN-LINE:|492-if|1|493-preAction
         descuentokdnoref1 = textField13.getString();
         intdescuentokdnoref1 = Float.parseFloat(descuentokdnoref1);
         DescuentoKD_Valida_Menor_Nomina2();//GEN-LINE:|492-if|2|493-postAction
            // write post-action user code here
        } else {//GEN-LINE:|492-if|3|494-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKDNoRef_Nomina2());//GEN-LINE:|492-if|4|494-postAction
            // write post-action user code here
        }//GEN-LINE:|492-if|5|492-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|492-if|6|
    //</editor-fold>//GEN-END:|492-if|6|



    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKD_Valida_Menor_Nomina2 ">//GEN-BEGIN:|501-if|0|501-preIf
    /**
     * Performs an action assigned to the DescuentoKD_Valida_Menor_Nomina2 if-point.
     */
    public void DescuentoKD_Valida_Menor_Nomina2() {//GEN-END:|501-if|0|501-preIf
        // enter pre-if user code here
        if (textField17.getString().length() <=  textField18.getString().length()) {//GEN-LINE:|501-if|1|502-preAction
            // write pre-action user code here
            DescuentoKD_Nomina2();//GEN-LINE:|501-if|2|502-postAction
            // write post-action user code here
        } else {//GEN-LINE:|501-if|3|503-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKD_Valida_Menor_Nomina2());//GEN-LINE:|501-if|4|503-postAction
            // write post-action user code here
        }//GEN-LINE:|501-if|5|501-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|501-if|6|
    //</editor-fold>//GEN-END:|501-if|6|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKDNoRef_Nomina2 ">//GEN-BEGIN:|496-getter|0|496-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKDNoRef_Nomina2 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKDNoRef_Nomina2() {
        if (Alerta_DescuentoKDNoRef_Nomina2 == null) {//GEN-END:|496-getter|0|496-preInit
            // write pre-init user code here
            Alerta_DescuentoKDNoRef_Nomina2 = new Alert("alerta descuento KD no Ref1", "FALTA DESCUENTO KD NO REF.", null, AlertType.ERROR);//GEN-BEGIN:|496-getter|1|496-postInit
            Alerta_DescuentoKDNoRef_Nomina2.addCommand(getBackCommand21());
            Alerta_DescuentoKDNoRef_Nomina2.setCommandListener(this);
            Alerta_DescuentoKDNoRef_Nomina2.setTimeout(Alert.FOREVER);//GEN-END:|496-getter|1|496-postInit
            // write post-init user code here
        }//GEN-BEGIN:|496-getter|2|
        return Alerta_DescuentoKDNoRef_Nomina2;
    }
    //</editor-fold>//GEN-END:|496-getter|2|
    //</editor-fold>
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKD_Valida_Menor_Nomina2 ">//GEN-BEGIN:|504-getter|0|504-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKD_Valida_Menor_Nomina2 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKD_Valida_Menor_Nomina2() {
        if (Alerta_DescuentoKD_Valida_Menor_Nomina2 == null) {//GEN-END:|504-getter|0|504-preInit
            // write pre-init user code here
            Alerta_DescuentoKD_Valida_Menor_Nomina2 = new Alert("", "CANT. QUINC. DEL DESCUENTO KD DEBE SER MENOR A QUINCENAS QUE ABARCA", null, AlertType.ERROR);//GEN-BEGIN:|504-getter|1|504-postInit
            Alerta_DescuentoKD_Valida_Menor_Nomina2.addCommand(getBackCommand20());
            Alerta_DescuentoKD_Valida_Menor_Nomina2.setCommandListener(this);
            Alerta_DescuentoKD_Valida_Menor_Nomina2.setTimeout(Alert.FOREVER);//GEN-END:|504-getter|1|504-postInit
            // write post-init user code here
        }//GEN-BEGIN:|504-getter|2|
        return Alerta_DescuentoKD_Valida_Menor_Nomina2;
    }
    //</editor-fold>//GEN-END:|504-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKD_Nomina2 ">//GEN-BEGIN:|507-if|0|507-preIf
    /**
     * Performs an action assigned to the DescuentoKD_Nomina2 if-point.
     */
    public void DescuentoKD_Nomina2() {//GEN-END:|507-if|0|507-preIf
        // enter pre-if user code here
        if (textField17.getString().length() != 0) {//GEN-LINE:|507-if|1|508-preAction
            descuentokd1 = textField17.getString();
            intdescuentokd1  = Float.parseFloat(descuentokd1);
            Ambos_Campos_Cero_Nomina2();//GEN-LINE:|507-if|2|508-postAction
            // write post-action user code here
        } else {//GEN-LINE:|507-if|3|509-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKD_Nomina2());//GEN-LINE:|507-if|4|509-postAction
            // write post-action user code here
        }//GEN-LINE:|507-if|5|507-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|507-if|6|
    //</editor-fold>//GEN-END:|507-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Ambos_Campos_Cero_Nomina2 ">//GEN-BEGIN:|512-if|0|512-preIf
    /**
     * Performs an action assigned to the Ambos_Campos_Cero_Nomina2 if-point.
     */
    public void Ambos_Campos_Cero_Nomina2() {//GEN-END:|512-if|0|512-preIf
        // enter pre-if user code here
        if (intquincenas == 0 && intdescuentokd == 0) {//GEN-LINE:|512-if|1|513-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Error0_Nomina2());//GEN-LINE:|512-if|2|513-postAction
            // write post-action user code here
        } else {//GEN-LINE:|512-if|3|514-preAction
            // write pre-action user code here
            UnouOtro_Campo_Cero_Nomina2();//GEN-LINE:|512-if|4|514-postAction
            // write post-action user code here
        }//GEN-LINE:|512-if|5|512-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|512-if|6|
    //</editor-fold>//GEN-END:|512-if|6|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKD_Nomina2 ">//GEN-BEGIN:|510-getter|0|510-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKD_Nomina2 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKD_Nomina2() {
        if (Alerta_DescuentoKD_Nomina2 == null) {//GEN-END:|510-getter|0|510-preInit
            // write pre-init user code here
            Alerta_DescuentoKD_Nomina2 = new Alert("alert", "FALTA DESCUENTOKD1", null, AlertType.ERROR);//GEN-BEGIN:|510-getter|1|510-postInit
            Alerta_DescuentoKD_Nomina2.addCommand(getBackCommand19());
            Alerta_DescuentoKD_Nomina2.setCommandListener(this);
            Alerta_DescuentoKD_Nomina2.setTimeout(Alert.FOREVER);//GEN-END:|510-getter|1|510-postInit
            // write post-init user code here
        }//GEN-BEGIN:|510-getter|2|
        return Alerta_DescuentoKD_Nomina2;
    }
    //</editor-fold>//GEN-END:|510-getter|2|



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand19 ">//GEN-BEGIN:|518-getter|0|518-preInit
    /**
     * Returns an initiliazed instance of backCommand19 component.
     * @return the initialized component instance
     */
    public Command getBackCommand19() {
        if (backCommand19 == null) {//GEN-END:|518-getter|0|518-preInit
            // write pre-init user code here
            backCommand19 = new Command("Back", Command.BACK, 0);//GEN-LINE:|518-getter|1|518-postInit
            // write post-init user code here
        }//GEN-BEGIN:|518-getter|2|
        return backCommand19;
    }
    //</editor-fold>//GEN-END:|518-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand20 ">//GEN-BEGIN:|520-getter|0|520-preInit
    /**
     * Returns an initiliazed instance of backCommand20 component.
     * @return the initialized component instance
     */
    public Command getBackCommand20() {
        if (backCommand20 == null) {//GEN-END:|520-getter|0|520-preInit
            // write pre-init user code here
            backCommand20 = new Command("Back", Command.BACK, 0);//GEN-LINE:|520-getter|1|520-postInit
            // write post-init user code here
        }//GEN-BEGIN:|520-getter|2|
        return backCommand20;
    }
    //</editor-fold>//GEN-END:|520-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand21 ">//GEN-BEGIN:|522-getter|0|522-preInit
    /**
     * Returns an initiliazed instance of backCommand21 component.
     * @return the initialized component instance
     */
    public Command getBackCommand21() {
        if (backCommand21 == null) {//GEN-END:|522-getter|0|522-preInit
            // write pre-init user code here
            backCommand21 = new Command("Back", Command.BACK, 0);//GEN-LINE:|522-getter|1|522-postInit
            // write post-init user code here
        }//GEN-BEGIN:|522-getter|2|
        return backCommand21;
    }
    //</editor-fold>//GEN-END:|522-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand22 ">//GEN-BEGIN:|529-getter|0|529-preInit
    /**
     * Returns an initiliazed instance of backCommand22 component.
     * @return the initialized component instance
     */
    public Command getBackCommand22() {
        if (backCommand22 == null) {//GEN-END:|529-getter|0|529-preInit
            // write pre-init user code here
            backCommand22 = new Command("Back", Command.BACK, 0);//GEN-LINE:|529-getter|1|529-postInit
            // write post-init user code here
        }//GEN-BEGIN:|529-getter|2|
        return backCommand22;
    }
    //</editor-fold>//GEN-END:|529-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Error0_Nomina2 ">//GEN-BEGIN:|524-getter|0|524-preInit
    /**
     * Returns an initiliazed instance of Alerta_Error0_Nomina2 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Error0_Nomina2() {
        if (Alerta_Error0_Nomina2 == null) {//GEN-END:|524-getter|0|524-preInit
            // write pre-init user code here
            Alerta_Error0_Nomina2 = new Alert("alert", "\"QUINCENAS QUE SE ABARCA\" Y \"CANT. QUINC. DEL DESCUENTO KD\" DEBEN SER MAYOR A CERO.", null, AlertType.ERROR);//GEN-BEGIN:|524-getter|1|524-postInit
            Alerta_Error0_Nomina2.addCommand(getBackCommand22());
            Alerta_Error0_Nomina2.setCommandListener(this);
            Alerta_Error0_Nomina2.setTimeout(Alert.FOREVER);//GEN-END:|524-getter|1|524-postInit
            // write post-init user code here
        }//GEN-BEGIN:|524-getter|2|
        return Alerta_Error0_Nomina2;
    }
    //</editor-fold>//GEN-END:|524-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand13 ">//GEN-BEGIN:|536-getter|0|536-preInit
    /**
     * Returns an initiliazed instance of okCommand13 component.
     * @return the initialized component instance
     */
    public Command getOkCommand13() {
        if (okCommand13 == null) {//GEN-END:|536-getter|0|536-preInit
            // write pre-init user code here
            okCommand13 = new Command("MEN\u00DA N\u00D3MINAS", Command.OK, 0);//GEN-LINE:|536-getter|1|536-postInit
            // write post-init user code here
        }//GEN-BEGIN:|536-getter|2|
        return okCommand13;
    }
    //</editor-fold>//GEN-END:|536-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Menu_Calculadoras ">//GEN-BEGIN:|534-getter|0|534-preInit
    /**
     * Returns an initiliazed instance of Menu_Calculadoras component.
     * @return the initialized component instance
     */
    public Form getMenu_Calculadoras() {
        if (Menu_Calculadoras == null) {//GEN-END:|534-getter|0|534-preInit
            // write pre-init user code here
            Menu_Calculadoras = new Form("CALCULADORAS", new Item[] { getChoiceGroup1() });//GEN-BEGIN:|534-getter|1|534-postInit
            Menu_Calculadoras.addCommand(getOkCommand13());
            Menu_Calculadoras.addCommand(getExitCommand8());
            Menu_Calculadoras.setCommandListener(this);//GEN-END:|534-getter|1|534-postInit
            // write post-init user code here
        }//GEN-BEGIN:|534-getter|2|
        return Menu_Calculadoras;
    }
    //</editor-fold>//GEN-END:|534-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand8 ">//GEN-BEGIN:|544-getter|0|544-preInit
    /**
     * Returns an initiliazed instance of exitCommand8 component.
     * @return the initialized component instance
     */
    public Command getExitCommand8() {
        if (exitCommand8 == null) {//GEN-END:|544-getter|0|544-preInit
            // write pre-init user code here
            exitCommand8 = new Command("SALIR", Command.EXIT, 0);//GEN-LINE:|544-getter|1|544-postInit
            // write post-init user code here
        }//GEN-BEGIN:|544-getter|2|
        return exitCommand8;
    }
    //</editor-fold>//GEN-END:|544-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: choiceGroup1 ">//GEN-BEGIN:|540-getter|0|540-preInit
    /**
     * Returns an initiliazed instance of choiceGroup1 component.
     * @return the initialized component instance
     */
    public ChoiceGroup getChoiceGroup1() {
        if (choiceGroup1 == null) {//GEN-END:|540-getter|0|540-preInit
            // write pre-init user code here
            choiceGroup1 = new ChoiceGroup("Seleccionar una calculadora:", Choice.EXCLUSIVE);//GEN-BEGIN:|540-getter|1|540-postInit
            choiceGroup1.append("C\u00E1lculadora Normal.", null);
            choiceGroup1.append("Secci\u00F3n 05 y UAC.", null);
            choiceGroup1.append("Calculo Salud Gto.", null);
            choiceGroup1.setSelectedFlags(new boolean[] { false, false, false });//GEN-END:|540-getter|1|540-postInit
            // write post-init user code here
        }//GEN-BEGIN:|540-getter|2|
        return choiceGroup1;
    }
    //</editor-fold>//GEN-END:|540-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: CalculadoraUno_u_Otra ">//GEN-BEGIN:|547-if|0|547-preIf
    /**
     * Performs an action assigned to the CalculadoraUno_u_Otra if-point.
     */
    public void CalculadoraUno_u_Otra() {//GEN-END:|547-if|0|547-preIf
        // enter pre-if user code here
        if (calculadora == 1) {//GEN-LINE:|547-if|1|548-preAction
            // write pre-action user code here
            switchDisplayable(null, getResultados_Nomina1_Calculadora1());//GEN-LINE:|547-if|2|548-postAction
            // write post-action user code here
        } else {//GEN-LINE:|547-if|3|549-preAction
            // write pre-action user code here
            CalculadoraDos_o_CalculadoraTres();//GEN-LINE:|547-if|4|549-postAction
            // write post-action user code here
        }//GEN-LINE:|547-if|5|547-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|547-if|6|
    //</editor-fold>//GEN-END:|547-if|6|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: resultados_NominaUno_calculadoraDos ">//GEN-BEGIN:|552-getter|0|552-preInit
    /**
     * Returns an initiliazed instance of resultados_NominaUno_calculadoraDos component.
     * @return the initialized component instance
     */
    public Form getResultados_NominaUno_calculadoraDos() {
        if (resultados_NominaUno_calculadoraDos == null) {//GEN-END:|552-getter|0|552-preInit
            // write pre-init user code here
            resultados_NominaUno_calculadoraDos = new Form("RESULTADOS", new Item[] { getTextField26(), getTextField27(), getTextField28() });//GEN-BEGIN:|552-getter|1|552-postInit
            resultados_NominaUno_calculadoraDos.addCommand(getOkCommand14());
            resultados_NominaUno_calculadoraDos.setCommandListener(this);//GEN-END:|552-getter|1|552-postInit

            intporcentajeliquido = 0.30f;

            intpercepcionesfijas = intpercepciones - (intbonouno + intbonodos + intbonotres + intbonocuatro);

            intliquidosinbonos = intliquido - (intbonouno + intbonodos + intbonotres + intbonocuatro + intdescuentokdnoref);

                if (intdescuentokdnoref == 0)
                 {
                    intporcientoliquido = (intliquidosinbonos/intquincenas) * intporcentajeliquido;
                    textField26.setString("" + intporcientoliquido);
                 }else
                  {
                    intporcientoliquido = (((intliquido - (intbonouno + intbonodos + intbonotres + intbonocuatro))/ intquincenas) * intporcentajeliquido) - intdescuentokdnoref;
                    textField26.setString("" + intporcientoliquido);
                  }

                intce = ((((intpercepciones - (intbonouno + intbonodos + intbonotres + intbonocuatro)) / intquincenas) * intporcentajeliquido)) - ((intdescuentokdref / intdescuentokd) + intdescuentokdnoref);

                if (intce == 0)
                {
                    textField27.setString("NO APLICA");
                    intce = 0;
                }else
                 {
                    textField27.setString("" + intce);
                 }


               float zz1 = 0.35f;
               intcp =  ((intliquido - intdescuentokdnoref - (intbonouno + intbonodos + intbonotres + intbonocuatro) - intpercepcionesfijas * zz1) / intquincenas);

              if (intcp == 0)
                  {
                  textField28.setString("No aplica");
               }else
                 {
                    intcp = ((intliquido - intdescuentokdnoref - (intbonouno + intbonodos + intbonotres + intbonocuatro) - intpercepcionesfijas * zz1) / intquincenas);
                    textField28.setString("" + intcp);
               }
        }//GEN-BEGIN:|552-getter|2|
        return resultados_NominaUno_calculadoraDos;
    }
    //</editor-fold>//GEN-END:|552-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand14 ">//GEN-BEGIN:|554-getter|0|554-preInit
    /**
     * Returns an initiliazed instance of okCommand14 component.
     * @return the initialized component instance
     */
    public Command getOkCommand14() {
        if (okCommand14 == null) {//GEN-END:|554-getter|0|554-preInit
            // write pre-init user code here
            okCommand14 = new Command("Ok", Command.OK, 0);//GEN-LINE:|554-getter|1|554-postInit
            // write post-init user code here
        }//GEN-BEGIN:|554-getter|2|
        return okCommand14;
    }
    //</editor-fold>//GEN-END:|554-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField26 ">//GEN-BEGIN:|556-getter|0|556-preInit
    /**
     * Returns an initiliazed instance of textField26 component.
     * @return the initialized component instance
     */
    public TextField getTextField26() {
        if (textField26 == null) {//GEN-END:|556-getter|0|556-preInit
            // write pre-init user code here
            textField26 = new TextField("% de L\u00EDquido:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|556-getter|1|556-postInit
            // write post-init user code here
        }//GEN-BEGIN:|556-getter|2|
        return textField26;
    }
    //</editor-fold>//GEN-END:|556-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField27 ">//GEN-BEGIN:|557-getter|0|557-preInit
    /**
     * Returns an initiliazed instance of textField27 component.
     * @return the initialized component instance
     */
    public TextField getTextField27() {
        if (textField27 == null) {//GEN-END:|557-getter|0|557-preInit
            // write pre-init user code here
            textField27 = new TextField("C.E.:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|557-getter|1|557-postInit
            // write post-init user code here
        }//GEN-BEGIN:|557-getter|2|
        return textField27;
    }
    //</editor-fold>//GEN-END:|557-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField28 ">//GEN-BEGIN:|558-getter|0|558-preInit
    /**
     * Returns an initiliazed instance of textField28 component.
     * @return the initialized component instance
     */
    public TextField getTextField28() {
        if (textField28 == null) {//GEN-END:|558-getter|0|558-preInit
            // write pre-init user code here
            textField28 = new TextField("C.P.:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|558-getter|1|558-postInit
            // write post-init user code here
        }//GEN-BEGIN:|558-getter|2|
        return textField28;
    }
    //</editor-fold>//GEN-END:|558-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand9 ">//GEN-BEGIN:|559-getter|0|559-preInit
    /**
     * Returns an initiliazed instance of exitCommand9 component.
     * @return the initialized component instance
     */
    public Command getExitCommand9() {
        if (exitCommand9 == null) {//GEN-END:|559-getter|0|559-preInit
            // write pre-init user code here
            exitCommand9 = new Command("Exit", Command.EXIT, 0);//GEN-LINE:|559-getter|1|559-postInit
            // write post-init user code here
        }//GEN-BEGIN:|559-getter|2|
        return exitCommand9;
    }
    //</editor-fold>//GEN-END:|559-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: CalculadoraDos_o_CalculadoraTres ">//GEN-BEGIN:|560-if|0|560-preIf
    /**
     * Performs an action assigned to the CalculadoraDos_o_CalculadoraTres if-point.
     */
    public void CalculadoraDos_o_CalculadoraTres() {//GEN-END:|560-if|0|560-preIf
        // enter pre-if user code here
        if (calculadora == 2) {//GEN-LINE:|560-if|1|561-preAction
            // write pre-action user code here
            switchDisplayable(null, getResultados_NominaUno_calculadoraDos());//GEN-LINE:|560-if|2|561-postAction
            // write post-action user code here
        } else {//GEN-LINE:|560-if|3|562-preAction
            // write pre-action user code here
            switchDisplayable(null, getResultados_NominaUno_calculadoraTres());//GEN-LINE:|560-if|4|562-postAction
            // write post-action user code here
        }//GEN-LINE:|560-if|5|560-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|560-if|6|
    //</editor-fold>//GEN-END:|560-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: resultados_NominaUno_calculadoraTres ">//GEN-BEGIN:|565-getter|0|565-preInit
    /**
     * Returns an initiliazed instance of resultados_NominaUno_calculadoraTres component.
     * @return the initialized component instance
     */
    public Form getResultados_NominaUno_calculadoraTres() {
        if (resultados_NominaUno_calculadoraTres == null) {//GEN-END:|565-getter|0|565-preInit
            // write pre-init user code here
            resultados_NominaUno_calculadoraTres = new Form("RESULTADOS", new Item[] { getTextField29(), getTextField30(), getTextField31() });//GEN-BEGIN:|565-getter|1|565-postInit
            resultados_NominaUno_calculadoraTres.addCommand(getOkCommand15());
            resultados_NominaUno_calculadoraTres.setCommandListener(this);//GEN-END:|565-getter|1|565-postInit

            intporcentajeliquido = 0.20f;

            intpercepcionesfijas = intpercepciones - (intbonouno + intbonodos + intbonotres + intbonocuatro);

            intliquidosinbonos = intliquido - (intbonouno + intbonodos + intbonotres + intbonocuatro + intdescuentokdnoref);

                if (intdescuentokdnoref == 0)
                 {
                    intporcientoliquido = (intliquidosinbonos/intquincenas) * intporcentajeliquido;
                    textField29.setString("" + intporcientoliquido);
                 }else
                  {
                    intporcientoliquido = (((intliquido - (intbonouno + intbonodos + intbonotres + intbonocuatro))/ intquincenas) * intporcentajeliquido) - intdescuentokdnoref;
                    textField29.setString("" + intporcientoliquido);
                  }

                intce = ((((intpercepciones - (intbonouno + intbonodos + intbonotres + intbonocuatro)) / intquincenas) * intporcentajeliquido)) - ((intdescuentokdref / intdescuentokd) + intdescuentokdnoref);

                if (intce == 0)
                {
                    textField30.setString("NO APLICA");
                    intce = 0;
                }else
                 {
                    textField30.setString("" + intce);
                 }


               float zz2 = 0.2f;
               intcp =  ((intliquido - intdescuentokdnoref - (intbonouno + intbonodos + intbonotres + intbonocuatro) - intpercepcionesfijas * zz2) / intquincenas);

              if (intcp == 0)
                  {
                  textField31.setString("No aplica");
               }else
                 {
                    intcp = ((intliquido - intdescuentokdnoref - (intbonouno + intbonodos + intbonotres + intbonocuatro) - intpercepcionesfijas * zz2) / intquincenas);
                    textField31.setString("" + intcp);
               }

        }//GEN-BEGIN:|565-getter|2|
        return resultados_NominaUno_calculadoraTres;
    }
    //</editor-fold>//GEN-END:|565-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand15 ">//GEN-BEGIN:|567-getter|0|567-preInit
    /**
     * Returns an initiliazed instance of okCommand15 component.
     * @return the initialized component instance
     */
    public Command getOkCommand15() {
        if (okCommand15 == null) {//GEN-END:|567-getter|0|567-preInit
            // write pre-init user code here
            okCommand15 = new Command("Ok", Command.OK, 0);//GEN-LINE:|567-getter|1|567-postInit
            // write post-init user code here
        }//GEN-BEGIN:|567-getter|2|
        return okCommand15;
    }
    //</editor-fold>//GEN-END:|567-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField29 ">//GEN-BEGIN:|569-getter|0|569-preInit
    /**
     * Returns an initiliazed instance of textField29 component.
     * @return the initialized component instance
     */
    public TextField getTextField29() {
        if (textField29 == null) {//GEN-END:|569-getter|0|569-preInit
            // write pre-init user code here
            textField29 = new TextField("% de L\u00EDquido:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|569-getter|1|569-postInit
            // write post-init user code here
        }//GEN-BEGIN:|569-getter|2|
        return textField29;
    }
    //</editor-fold>//GEN-END:|569-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField30 ">//GEN-BEGIN:|570-getter|0|570-preInit
    /**
     * Returns an initiliazed instance of textField30 component.
     * @return the initialized component instance
     */
    public TextField getTextField30() {
        if (textField30 == null) {//GEN-END:|570-getter|0|570-preInit
            // write pre-init user code here
            textField30 = new TextField("C.E.:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|570-getter|1|570-postInit
            // write post-init user code here
        }//GEN-BEGIN:|570-getter|2|
        return textField30;
    }
    //</editor-fold>//GEN-END:|570-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField31 ">//GEN-BEGIN:|571-getter|0|571-preInit
    /**
     * Returns an initiliazed instance of textField31 component.
     * @return the initialized component instance
     */
    public TextField getTextField31() {
        if (textField31 == null) {//GEN-END:|571-getter|0|571-preInit
            // write pre-init user code here
            textField31 = new TextField("C.P.:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|571-getter|1|571-postInit
            // write post-init user code here
        }//GEN-BEGIN:|571-getter|2|
        return textField31;
    }
    //</editor-fold>//GEN-END:|571-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: UnouOtro_Campo_Cero_Nomina2 ">//GEN-BEGIN:|572-if|0|572-preIf
    /**
     * Performs an action assigned to the UnouOtro_Campo_Cero_Nomina2 if-point.
     */
    public void UnouOtro_Campo_Cero_Nomina2() {//GEN-END:|572-if|0|572-preIf
        // enter pre-if user code here
        if (intquincenas1 == 0 || intdescuentokd1 == 0) {//GEN-LINE:|572-if|1|573-preAction
            // write pre-action user code here
            Un_Campo_Cero_Nomina2();//GEN-LINE:|572-if|2|573-postAction
            // write post-action user code here
        } else {//GEN-LINE:|572-if|3|574-preAction
            // write pre-action user code here
            switchDisplayable(null, getResultados_Nomina2_Calculadora1());//GEN-LINE:|572-if|4|574-postAction
            // write post-action user code here
        }//GEN-LINE:|572-if|5|572-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|572-if|6|
    //</editor-fold>//GEN-END:|572-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Un_Campo_Cero_Nomina2 ">//GEN-BEGIN:|576-if|0|576-preIf
    /**
     * Performs an action assigned to the Un_Campo_Cero_Nomina2 if-point.
     */
    public void Un_Campo_Cero_Nomina2() {//GEN-END:|576-if|0|576-preIf
        // enter pre-if user code here
        if (intquincenas1 == 0) {//GEN-LINE:|576-if|1|577-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Error0_Campo1_Nomina2());//GEN-LINE:|576-if|2|577-postAction
            // write post-action user code here
        } else {//GEN-LINE:|576-if|3|578-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Error0_Campo2_Nomina2());//GEN-LINE:|576-if|4|578-postAction
            // write post-action user code here
        }//GEN-LINE:|576-if|5|576-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|576-if|6|
    //</editor-fold>//GEN-END:|576-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand23 ">//GEN-BEGIN:|584-getter|0|584-preInit
    /**
     * Returns an initiliazed instance of backCommand23 component.
     * @return the initialized component instance
     */
    public Command getBackCommand23() {
        if (backCommand23 == null) {//GEN-END:|584-getter|0|584-preInit
            // write pre-init user code here
            backCommand23 = new Command("OK", Command.BACK, 0);//GEN-LINE:|584-getter|1|584-postInit
            // write post-init user code here
        }//GEN-BEGIN:|584-getter|2|
        return backCommand23;
    }
    //</editor-fold>//GEN-END:|584-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand24 ">//GEN-BEGIN:|587-getter|0|587-preInit
    /**
     * Returns an initiliazed instance of backCommand24 component.
     * @return the initialized component instance
     */
    public Command getBackCommand24() {
        if (backCommand24 == null) {//GEN-END:|587-getter|0|587-preInit
            // write pre-init user code here
            backCommand24 = new Command("OK", Command.BACK, 0);//GEN-LINE:|587-getter|1|587-postInit
            // write post-init user code here
        }//GEN-BEGIN:|587-getter|2|
        return backCommand24;
    }
    //</editor-fold>//GEN-END:|587-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand16 ">//GEN-BEGIN:|592-getter|0|592-preInit
    /**
     * Returns an initiliazed instance of okCommand16 component.
     * @return the initialized component instance
     */
    public Command getOkCommand16() {
        if (okCommand16 == null) {//GEN-END:|592-getter|0|592-preInit
           if(nomina == 2)
               okCommand16 = new Command("LIQUIDEZ", Command.OK, 0);//GEN-LINE:|592-getter|1|592-postInit
           else
            okCommand16 = new Command("NOMINA 3", Command.OK, 0);
        }//GEN-BEGIN:|592-getter|2|
        return okCommand16;
    }
    //</editor-fold>//GEN-END:|592-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Error0_Campo2_Nomina2 ">//GEN-BEGIN:|580-getter|0|580-preInit
    /**
     * Returns an initiliazed instance of Alerta_Error0_Campo2_Nomina2 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Error0_Campo2_Nomina2() {
        if (Alerta_Error0_Campo2_Nomina2 == null) {//GEN-END:|580-getter|0|580-preInit
            // write pre-init user code here
            Alerta_Error0_Campo2_Nomina2 = new Alert("", "\"CANT. QUINC. DEL DESCUENTO KD\" DEBE SER MAYOR A CERO.", null, AlertType.ERROR);//GEN-BEGIN:|580-getter|1|580-postInit
            Alerta_Error0_Campo2_Nomina2.addCommand(getBackCommand24());
            Alerta_Error0_Campo2_Nomina2.setCommandListener(this);
            Alerta_Error0_Campo2_Nomina2.setTimeout(Alert.FOREVER);//GEN-END:|580-getter|1|580-postInit
            // write post-init user code here
        }//GEN-BEGIN:|580-getter|2|
        return Alerta_Error0_Campo2_Nomina2;
    }
    //</editor-fold>//GEN-END:|580-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Error0_Campo1_Nomina2 ">//GEN-BEGIN:|581-getter|0|581-preInit
    /**
     * Returns an initiliazed instance of Alerta_Error0_Campo1_Nomina2 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Error0_Campo1_Nomina2() {
        if (Alerta_Error0_Campo1_Nomina2 == null) {//GEN-END:|581-getter|0|581-preInit
            // write pre-init user code here
            Alerta_Error0_Campo1_Nomina2 = new Alert("", "\"QUINCENAS QUE SE ABARCA\" DEBE SER MAYOR A CERO.", null, AlertType.ERROR);//GEN-BEGIN:|581-getter|1|581-postInit
            Alerta_Error0_Campo1_Nomina2.addCommand(getBackCommand23());
            Alerta_Error0_Campo1_Nomina2.setCommandListener(this);
            Alerta_Error0_Campo1_Nomina2.setTimeout(Alert.FOREVER);//GEN-END:|581-getter|1|581-postInit
            // write post-init user code here
        }//GEN-BEGIN:|581-getter|2|
        return Alerta_Error0_Campo1_Nomina2;
    }
    //</editor-fold>//GEN-END:|581-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Resultados_Nomina2_Calculadora1 ">//GEN-BEGIN:|590-getter|0|590-preInit
    /**
     * Returns an initiliazed instance of Resultados_Nomina2_Calculadora1 component.
     * @return the initialized component instance
     */
    public Form getResultados_Nomina2_Calculadora1() {
        if (Resultados_Nomina2_Calculadora1 == null) {//GEN-END:|590-getter|0|590-preInit
            // write pre-init user code here
            Resultados_Nomina2_Calculadora1 = new Form("RESULTADOS NOMINA DOS", new Item[] { getTextField32(), getTextField33(), getTextField34() });//GEN-BEGIN:|590-getter|1|590-postInit
            Resultados_Nomina2_Calculadora1.addCommand(getOkCommand16());
            Resultados_Nomina2_Calculadora1.addCommand(getExitCommand10());
            Resultados_Nomina2_Calculadora1.setCommandListener(this);//GEN-END:|590-getter|1|590-postInit

            intporcentajeliquido1 = 0.30f;
            intpercepcionesfijas1 = intpercepciones1 - (intbonouno1 + intbonodos1 + intbonotres1 + intbonocuatro1);
            intliquidosinbonos1 = intliquido1 - (intbonouno1 + intbonodos1 + intbonotres1 + intbonocuatro1 + intdescuentokdnoref1);

            if (intdescuentokdnoref1 == 0)
             {
               intporcientoliquido1 = (intliquidosinbonos1/intquincenas1) * intporcentajeliquido1;
               textField32.setString("" + intporcientoliquido1);
             }else
              {
                intporcientoliquido1 = (((intliquido1 - (intbonouno1 + intbonodos1 + intbonotres1 + intbonocuatro1))/ intquincenas1) * intporcentajeliquido1) - intdescuentokdnoref1;
                textField32.setString("" + intporcientoliquido1);
              }

            intce1 = ((((intpercepciones1 - (intbonouno1 + intbonodos1 + intbonotres1 + intbonocuatro1)) / intquincenas1) * intporcentajeliquido1)) - ((intdescuentokdref1 / intdescuentokd1) + intdescuentokdnoref1);

            if (intce1 == 0)
             {
               textField33.setString("NO APLICA");
               intce1 = 0;
             }else
              {
               textField33.setString("" + intce1);
              }

            float zz = 0.20f;
            intcp1 =  ((intliquido1 - intdescuentokdnoref1 - (intbonouno1 + intbonodos1 + intbonotres1 + intbonocuatro1) - intpercepcionesfijas1 * zz) / intquincenas1);

            if (intcp1 == 0)
             {
               textField34.setString("No aplica");
               intcp1 = 0;
             }else
              {
                intcp1 = ((intliquido1 - intdescuentokdnoref1 - (intbonouno1 + intbonodos1 + intbonotres1 + intbonocuatro1) - intpercepcionesfijas1 * zz) / intquincenas1);
                textField34.setString("" + intcp1);
              }
        }//GEN-BEGIN:|590-getter|2|
        return Resultados_Nomina2_Calculadora1;
    }
    //</editor-fold>//GEN-END:|590-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField32 ">//GEN-BEGIN:|594-getter|0|594-preInit
    /**
     * Returns an initiliazed instance of textField32 component.
     * @return the initialized component instance
     */
    public TextField getTextField32() {
        if (textField32 == null) {//GEN-END:|594-getter|0|594-preInit
            // write pre-init user code here
            textField32 = new TextField("% de L\u00EDquido:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|594-getter|1|594-postInit
            // write post-init user code here
        }//GEN-BEGIN:|594-getter|2|
        return textField32;
    }
    //</editor-fold>//GEN-END:|594-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField33 ">//GEN-BEGIN:|595-getter|0|595-preInit
    /**
     * Returns an initiliazed instance of textField33 component.
     * @return the initialized component instance
     */
    public TextField getTextField33() {
        if (textField33 == null) {//GEN-END:|595-getter|0|595-preInit
            // write pre-init user code here
            textField33 = new TextField("C.E.:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|595-getter|1|595-postInit
            // write post-init user code here
        }//GEN-BEGIN:|595-getter|2|
        return textField33;
    }
    //</editor-fold>//GEN-END:|595-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField34 ">//GEN-BEGIN:|596-getter|0|596-preInit
    /**
     * Returns an initiliazed instance of textField34 component.
     * @return the initialized component instance
     */
    public TextField getTextField34() {
        if (textField34 == null) {//GEN-END:|596-getter|0|596-preInit
            // write pre-init user code here
            textField34 = new TextField("C.P.:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|596-getter|1|596-postInit
            // write post-init user code here
        }//GEN-BEGIN:|596-getter|2|
        return textField34;
    }
    //</editor-fold>//GEN-END:|596-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: dosNominas_o_tresNominas ">//GEN-BEGIN:|597-if|0|597-preIf
    /**
     * Performs an action assigned to the dosNominas_o_tresNominas if-point.
     */
    public void dosNominas_o_tresNominas() {//GEN-END:|597-if|0|597-preIf
        if (nomina == 2) {//GEN-LINE:|597-if|1|598-preAction
            // write pre-action user code here
            switchDisplayable(null, getCapacidad_Pago_Nomina2());//GEN-LINE:|597-if|2|598-postAction
            // write post-action user code here
        } else {//GEN-LINE:|597-if|3|599-preAction
            // write pre-action user code here
            switchDisplayable(null, getValores_Nomina3());//GEN-LINE:|597-if|4|599-postAction
            // write post-action user code here
        }//GEN-LINE:|597-if|5|597-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|597-if|6|
    //</editor-fold>//GEN-END:|597-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand17 ">//GEN-BEGIN:|603-getter|0|603-preInit
    /**
     * Returns an initiliazed instance of okCommand17 component.
     * @return the initialized component instance
     */
    public Command getOkCommand17() {
        if (okCommand17 == null) {//GEN-END:|603-getter|0|603-preInit
            // write pre-init user code here
            okCommand17 = new Command("Ok", Command.OK, 0);//GEN-LINE:|603-getter|1|603-postInit
            // write post-init user code here
        }//GEN-BEGIN:|603-getter|2|
        return okCommand17;
    }
    //</editor-fold>//GEN-END:|603-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Valores_Nomina3 ">//GEN-BEGIN:|601-getter|0|601-preInit
    /**
     * Returns an initiliazed instance of Valores_Nomina3 component.
     * @return the initialized component instance
     */
    public Form getValores_Nomina3() {
        if (Valores_Nomina3 == null) {//GEN-END:|601-getter|0|601-preInit
            // write pre-init user code here
            Valores_Nomina3 = new Form("", new Item[] { getStringItem3(), getTextField37(), getTextField38(), getTextField39(), getTextField40(), getTextField41(), getTextField42(), getTextField43(), getTextField44(), getTextField45(), getTextField46() });//GEN-BEGIN:|601-getter|1|601-postInit
            Valores_Nomina3.addCommand(getOkCommand17());
            Valores_Nomina3.setCommandListener(this);//GEN-END:|601-getter|1|601-postInit
            // write post-init user code here
        }//GEN-BEGIN:|601-getter|2|
        return Valores_Nomina3;
    }
    //</editor-fold>//GEN-END:|601-getter|2|
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Capacidad_Pago_Nomina2 ">//GEN-BEGIN:|605-getter|0|605-preInit
    /**
     * Returns an initiliazed instance of Capacidad_Pago_Nomina2 component.
     * @return the initialized component instance
     */
    public Form getCapacidad_Pago_Nomina2() {
        if (Capacidad_Pago_Nomina2 == null) {//GEN-END:|605-getter|0|605-preInit
            // write pre-init user code here
            Capacidad_Pago_Nomina2 = new Form("form", new Item[] { getTextField35(), getTextField36() });//GEN-BEGIN:|605-getter|1|605-postInit
            Capacidad_Pago_Nomina2.addCommand(getScreenCommand6());
            Capacidad_Pago_Nomina2.setCommandListener(this);//GEN-END:|605-getter|1|605-postInit
            //**********DECLARACIÓN DEL ARREGLO PARA SACAR LOS MINIMOS*********

             float compara[] = {intporcientoliquido, intce, intcp, intporcientoliquido1, intce1, intcp1};

             if(intporcientoliquido == 0 && intce == 0 && intcp == 0 && intporcientoliquido1 == 0 && intce1 == 0 && intcp1 == 0)
             {
               intporcientoliquido = 1000000;
               intce = 1000000;
               intcp = 1000000;
               intporcientoliquido1 = 1000000;
               intce1 = 1000000;
               intcp1 = 1000000;
             }

                menor = 0f;
                for ( int x = 0; x < compara.length; x++ )
                {
                  if (  compara[x]<menor)
                  {
                    menor = compara[x];
                  }else
                   {
                      if(menor == 0 )
                      {
                        menor = compara[x];
                      }
                   }
                }
                textField36.setString("" + menor);

         //************CODIGO PARA ENCONTRAR EL % "DESCUENTO CREDITO QUE SOLICITA"

         System.out.println(intliquidosinbonos);
         System.out.println(intliquidosinbonos1);

         float compara1[] = {intliquidosinbonos, intliquidosinbonos1};

         // float compara1[] = new float[1] ;
             if(intliquidosinbonos == 0)
             {
               intliquidosinbonos = 100000000f;
                compara1[0]=intliquidosinbonos;
             }

         if(intliquidosinbonos1 == 0)
            {
               intliquidosinbonos1 = 100000000f;
                compara1[1]=intliquidosinbonos1;
             }
 System.out.println(intliquidosinbonos);
         System.out.println(intliquidosinbonos1);

          menor1 = 0f;
          for ( int x = 0; x < compara1.length; x++ )
           {
             //System.out.println(compara1[
              if (compara1[x]<menor1)
               {
                   menor1 = compara1[x];
               }else
                   {
                     if(menor1 == 0 )
                      {
                        menor1 = compara1[x];
                      }
                   }
                }

System.out.println(intdescuentocsolicita);
         System.out.println(menor1);

                intporcientodescuentosolicita = (intdescuentocsolicita/menor1)*100;
System.out.println(intporcientodescuentosolicita);
                textField35.setString("" + intporcientodescuentosolicita);


        }//GEN-BEGIN:|605-getter|2|
        return Capacidad_Pago_Nomina2;
    }
    //</editor-fold>//GEN-END:|605-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField35 ">//GEN-BEGIN:|607-getter|0|607-preInit
    /**
     * Returns an initiliazed instance of textField35 component.
     * @return the initialized component instance
     */
    public TextField getTextField35() {
        if (textField35 == null) {//GEN-END:|607-getter|0|607-preInit
            // write pre-init user code here
            textField35 = new TextField("Descuento Cr\u00E9dito que Solicita:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|607-getter|1|607-postInit
            // write post-init user code here
        }//GEN-BEGIN:|607-getter|2|
        return textField35;
    }
    //</editor-fold>//GEN-END:|607-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField36 ">//GEN-BEGIN:|608-getter|0|608-preInit
    /**
     * Returns an initiliazed instance of textField36 component.
     * @return the initialized component instance
     */
    public TextField getTextField36() {
        if (textField36 == null) {//GEN-END:|608-getter|0|608-preInit
            // write pre-init user code here
            textField36 = new TextField("Capacidad de Pago de la Operaci\u00F3n:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|608-getter|1|608-postInit
            // write post-init user code here
        }//GEN-BEGIN:|608-getter|2|
        return textField36;
    }
    //</editor-fold>//GEN-END:|608-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: screenCommand6 ">//GEN-BEGIN:|609-getter|0|609-preInit
    /**
     * Returns an initiliazed instance of screenCommand6 component.
     * @return the initialized component instance
     */
    public Command getScreenCommand6() {
        if (screenCommand6 == null) {//GEN-END:|609-getter|0|609-preInit
            // write pre-init user code here
            screenCommand6 = new Command("DICTAMEN", Command.SCREEN, 0);//GEN-LINE:|609-getter|1|609-postInit
            // write post-init user code here
        }//GEN-BEGIN:|609-getter|2|
        return screenCommand6;
    }
    //</editor-fold>//GEN-END:|609-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Dictamen_Nomina2 ">//GEN-BEGIN:|611-if|0|611-preIf
    /**
     * Performs an action assigned to the Dictamen_Nomina2 if-point.
     */
    public void Dictamen_Nomina2() {//GEN-END:|611-if|0|611-preIf
        // enter pre-if user code here
        if (intdescuentocsolicita <= menor) {//GEN-LINE:|611-if|1|612-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Sujeto_Credito_Nomina2());//GEN-LINE:|611-if|2|612-postAction
            // write post-action user code here
        } else {//GEN-LINE:|611-if|3|613-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_No_Sujeto_Credito_Nomina2());//GEN-LINE:|611-if|4|613-postAction
            // write post-action user code here
        }//GEN-LINE:|611-if|5|611-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|611-if|6|
    //</editor-fold>//GEN-END:|611-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand25 ">//GEN-BEGIN:|618-getter|0|618-preInit
    /**
     * Returns an initiliazed instance of backCommand25 component.
     * @return the initialized component instance
     */
    public Command getBackCommand25() {
        if (backCommand25 == null) {//GEN-END:|618-getter|0|618-preInit
            // write pre-init user code here
            backCommand25 = new Command("Back", Command.BACK, 0);//GEN-LINE:|618-getter|1|618-postInit
            // write post-init user code here
        }//GEN-BEGIN:|618-getter|2|
        return backCommand25;
    }
    //</editor-fold>//GEN-END:|618-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand26 ">//GEN-BEGIN:|622-getter|0|622-preInit
    /**
     * Returns an initiliazed instance of backCommand26 component.
     * @return the initialized component instance
     */
    public Command getBackCommand26() {
        if (backCommand26 == null) {//GEN-END:|622-getter|0|622-preInit
            // write pre-init user code here
            backCommand26 = new Command("Back", Command.BACK, 0);//GEN-LINE:|622-getter|1|622-postInit
            // write post-init user code here
        }//GEN-BEGIN:|622-getter|2|
        return backCommand26;
    }
    //</editor-fold>//GEN-END:|622-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_No_Sujeto_Credito_Nomina2 ">//GEN-BEGIN:|615-getter|0|615-preInit
    /**
     * Returns an initiliazed instance of Alerta_No_Sujeto_Credito_Nomina2 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_No_Sujeto_Credito_Nomina2() {
        if (Alerta_No_Sujeto_Credito_Nomina2 == null) {//GEN-END:|615-getter|0|615-preInit
            // write pre-init user code here
            Alerta_No_Sujeto_Credito_Nomina2 = new Alert("Dictamen Final de la Solicitud", "NO ES SUJETO DE CR\u00C9DITO", null, AlertType.INFO);//GEN-BEGIN:|615-getter|1|615-postInit
            Alerta_No_Sujeto_Credito_Nomina2.addCommand(getBackCommand26());
            Alerta_No_Sujeto_Credito_Nomina2.setCommandListener(this);
            Alerta_No_Sujeto_Credito_Nomina2.setTimeout(Alert.FOREVER);//GEN-END:|615-getter|1|615-postInit
            // write post-init user code here
        }//GEN-BEGIN:|615-getter|2|
        return Alerta_No_Sujeto_Credito_Nomina2;
    }
    //</editor-fold>//GEN-END:|615-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Sujeto_Credito_Nomina2 ">//GEN-BEGIN:|616-getter|0|616-preInit
    /**
     * Returns an initiliazed instance of Alerta_Sujeto_Credito_Nomina2 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Sujeto_Credito_Nomina2() {
        if (Alerta_Sujeto_Credito_Nomina2 == null) {//GEN-END:|616-getter|0|616-preInit
            // write pre-init user code here
            Alerta_Sujeto_Credito_Nomina2 = new Alert("Dictamen Final de la Solicitud", "SI ES SUJETO DE CR\u00C9DITO", null, AlertType.INFO);//GEN-BEGIN:|616-getter|1|616-postInit
            Alerta_Sujeto_Credito_Nomina2.addCommand(getBackCommand25());
            Alerta_Sujeto_Credito_Nomina2.setCommandListener(this);
            Alerta_Sujeto_Credito_Nomina2.setTimeout(Alert.FOREVER);//GEN-END:|616-getter|1|616-postInit
            // write post-init user code here
        }//GEN-BEGIN:|616-getter|2|
        return Alerta_Sujeto_Credito_Nomina2;
    }
    //</editor-fold>//GEN-END:|616-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: stringItem3 ">//GEN-BEGIN:|625-getter|0|625-preInit
    /**
     * Returns an initiliazed instance of stringItem3 component.
     * @return the initialized component instance
     */
    public StringItem getStringItem3() {
        if (stringItem3 == null) {//GEN-END:|625-getter|0|625-preInit
            // write pre-init user code here
            stringItem3 = new StringItem("NOMINA F\u00CDSICA TRES", null);//GEN-BEGIN:|625-getter|1|625-postInit
            stringItem3.setLayout(ImageItem.LAYOUT_CENTER | Item.LAYOUT_TOP | Item.LAYOUT_BOTTOM | Item.LAYOUT_VCENTER);//GEN-END:|625-getter|1|625-postInit
            // write post-init user code here
        }//GEN-BEGIN:|625-getter|2|
        return stringItem3;
    }
    //</editor-fold>//GEN-END:|625-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField37 ">//GEN-BEGIN:|626-getter|0|626-preInit
    /**
     * Returns an initiliazed instance of textField37 component.
     * @return the initialized component instance
     */
    public TextField getTextField37() {
        if (textField37 == null) {//GEN-END:|626-getter|0|626-preInit
            // write pre-init user code here
            textField37 = new TextField("Quincena que Abarca:", "1", 32, TextField.DECIMAL);//GEN-LINE:|626-getter|1|626-postInit
            // write post-init user code here
        }//GEN-BEGIN:|626-getter|2|
        return textField37;
    }
    //</editor-fold>//GEN-END:|626-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField38 ">//GEN-BEGIN:|627-getter|0|627-preInit
    /**
     * Returns an initiliazed instance of textField38 component.
     * @return the initialized component instance
     */
    public TextField getTextField38() {
        if (textField38 == null) {//GEN-END:|627-getter|0|627-preInit
            // write pre-init user code here
            textField38 = new TextField("Percepciones:", null, 32, TextField.DECIMAL);//GEN-LINE:|627-getter|1|627-postInit
            // write post-init user code here
        }//GEN-BEGIN:|627-getter|2|
        return textField38;
    }
    //</editor-fold>//GEN-END:|627-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField39 ">//GEN-BEGIN:|628-getter|0|628-preInit
    /**
     * Returns an initiliazed instance of textField39 component.
     * @return the initialized component instance
     */
    public TextField getTextField39() {
        if (textField39 == null) {//GEN-END:|628-getter|0|628-preInit
            // write pre-init user code here
            textField39 = new TextField("L\u00EDquido:", null, 32, TextField.DECIMAL);//GEN-LINE:|628-getter|1|628-postInit
            // write post-init user code here
        }//GEN-BEGIN:|628-getter|2|
        return textField39;
    }
    //</editor-fold>//GEN-END:|628-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField40 ">//GEN-BEGIN:|629-getter|0|629-preInit
    /**
     * Returns an initiliazed instance of textField40 component.
     * @return the initialized component instance
     */
    public TextField getTextField40() {
        if (textField40 == null) {//GEN-END:|629-getter|0|629-preInit
            // write pre-init user code here
            textField40 = new TextField("Descuento KD REF:", null, 32, TextField.DECIMAL);//GEN-LINE:|629-getter|1|629-postInit
            // write post-init user code here
        }//GEN-BEGIN:|629-getter|2|
        return textField40;
    }
    //</editor-fold>//GEN-END:|629-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField41 ">//GEN-BEGIN:|630-getter|0|630-preInit
    /**
     * Returns an initiliazed instance of textField41 component.
     * @return the initialized component instance
     */
    public TextField getTextField41() {
        if (textField41 == null) {//GEN-END:|630-getter|0|630-preInit
            // write pre-init user code here
            textField41 = new TextField("Descuento KD No REF:", null, 32, TextField.DECIMAL);//GEN-LINE:|630-getter|1|630-postInit
            // write post-init user code here
        }//GEN-BEGIN:|630-getter|2|
        return textField41;
    }
    //</editor-fold>//GEN-END:|630-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField42 ">//GEN-BEGIN:|631-getter|0|631-preInit
    /**
     * Returns an initiliazed instance of textField42 component.
     * @return the initialized component instance
     */
    public TextField getTextField42() {
        if (textField42 == null) {//GEN-END:|631-getter|0|631-preInit
            // write pre-init user code here
            textField42 = new TextField("Cant. Quinc. del Descuento KD:", "1", 32, TextField.DECIMAL);//GEN-LINE:|631-getter|1|631-postInit
            // write post-init user code here
        }//GEN-BEGIN:|631-getter|2|
        return textField42;
    }
    //</editor-fold>//GEN-END:|631-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField43 ">//GEN-BEGIN:|632-getter|0|632-preInit
    /**
     * Returns an initiliazed instance of textField43 component.
     * @return the initialized component instance
     */
    public TextField getTextField43() {
        if (textField43 == null) {//GEN-END:|632-getter|0|632-preInit
            // write pre-init user code here
            textField43 = new TextField("Bono 1:", null, 32, TextField.DECIMAL);//GEN-LINE:|632-getter|1|632-postInit
            // write post-init user code here
        }//GEN-BEGIN:|632-getter|2|
        return textField43;
    }
    //</editor-fold>//GEN-END:|632-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField44 ">//GEN-BEGIN:|633-getter|0|633-preInit
    /**
     * Returns an initiliazed instance of textField44 component.
     * @return the initialized component instance
     */
    public TextField getTextField44() {
        if (textField44 == null) {//GEN-END:|633-getter|0|633-preInit
            // write pre-init user code here
            textField44 = new TextField("Bono 2:", null, 32, TextField.DECIMAL);//GEN-LINE:|633-getter|1|633-postInit
            // write post-init user code here
        }//GEN-BEGIN:|633-getter|2|
        return textField44;
    }
    //</editor-fold>//GEN-END:|633-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField45 ">//GEN-BEGIN:|634-getter|0|634-preInit
    /**
     * Returns an initiliazed instance of textField45 component.
     * @return the initialized component instance
     */
    public TextField getTextField45() {
        if (textField45 == null) {//GEN-END:|634-getter|0|634-preInit
            // write pre-init user code here
            textField45 = new TextField("Bono 3:", null, 32, TextField.DECIMAL);//GEN-LINE:|634-getter|1|634-postInit
            // write post-init user code here
        }//GEN-BEGIN:|634-getter|2|
        return textField45;
    }
    //</editor-fold>//GEN-END:|634-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField46 ">//GEN-BEGIN:|635-getter|0|635-preInit
    /**
     * Returns an initiliazed instance of textField46 component.
     * @return the initialized component instance
     */
    public TextField getTextField46() {
        if (textField46 == null) {//GEN-END:|635-getter|0|635-preInit
            // write pre-init user code here
            textField46 = new TextField("Bono 4:", null, 32, TextField.DECIMAL);//GEN-LINE:|635-getter|1|635-postInit
            // write post-init user code here
        }//GEN-BEGIN:|635-getter|2|
        return textField46;
    }
    //</editor-fold>//GEN-END:|635-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand10 ">//GEN-BEGIN:|646-getter|0|646-preInit
    /**
     * Returns an initiliazed instance of exitCommand10 component.
     * @return the initialized component instance
     */
    public Command getExitCommand10() {
        if (exitCommand10 == null) {//GEN-END:|646-getter|0|646-preInit
            // write pre-init user code here
            exitCommand10 = new Command("Exit", Command.EXIT, 0);//GEN-LINE:|646-getter|1|646-postInit
            // write post-init user code here
        }//GEN-BEGIN:|646-getter|2|
        return exitCommand10;
    }
    //</editor-fold>//GEN-END:|646-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Quincenas_Nomina3 ">//GEN-BEGIN:|649-if|0|649-preIf
    /**
     * Performs an action assigned to the Quincenas_Nomina3 if-point.
     */
    public void Quincenas_Nomina3() {//GEN-END:|649-if|0|649-preIf
        // enter pre-if user code here
        if (textField37.getString().length() != 0) {//GEN-LINE:|649-if|1|650-preAction
         quincenas2 = textField37.getString();
         intquincenas2 = Float.parseFloat(quincenas2);
         DescuentoKDRef_Nomina3();//GEN-LINE:|649-if|2|650-postAction

        } else {//GEN-LINE:|649-if|3|651-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Quincenas_Nomina3());//GEN-LINE:|649-if|4|651-postAction
            // write post-action user code here
        }//GEN-LINE:|649-if|5|649-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|649-if|6|
    //</editor-fold>//GEN-END:|649-if|6|
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Quincenas_Nomina3 ">//GEN-BEGIN:|653-getter|0|653-preInit
    /**
     * Returns an initiliazed instance of Alerta_Quincenas_Nomina3 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Quincenas_Nomina3() {
        if (Alerta_Quincenas_Nomina3 == null) {//GEN-END:|653-getter|0|653-preInit
            // write pre-init user code here
            Alerta_Quincenas_Nomina3 = new Alert("", "FALTA QUINCENAS.", null, AlertType.ERROR);//GEN-BEGIN:|653-getter|1|653-postInit
            Alerta_Quincenas_Nomina3.addCommand(getBackCommand27());
            Alerta_Quincenas_Nomina3.setCommandListener(this);
            Alerta_Quincenas_Nomina3.setTimeout(Alert.FOREVER);//GEN-END:|653-getter|1|653-postInit
            // write post-init user code here
        }//GEN-BEGIN:|653-getter|2|
        return Alerta_Quincenas_Nomina3;
    }
    //</editor-fold>//GEN-END:|653-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand27 ">//GEN-BEGIN:|656-getter|0|656-preInit
    /**
     * Returns an initiliazed instance of backCommand27 component.
     * @return the initialized component instance
     */
    public Command getBackCommand27() {
        if (backCommand27 == null) {//GEN-END:|656-getter|0|656-preInit
            // write pre-init user code here
            backCommand27 = new Command("OK", Command.BACK, 0);//GEN-LINE:|656-getter|1|656-postInit
            // write post-init user code here
        }//GEN-BEGIN:|656-getter|2|
        return backCommand27;
    }
    //</editor-fold>//GEN-END:|656-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKDRef_Nomina3 ">//GEN-BEGIN:|659-if|0|659-preIf
    /**
     * Performs an action assigned to the DescuentoKDRef_Nomina3 if-point.
     */
    public void DescuentoKDRef_Nomina3() {//GEN-END:|659-if|0|659-preIf
        // enter pre-if user code here
        if (textField40.getString().length() != 0) {//GEN-LINE:|659-if|1|660-preAction
          descuentokdref2 = textField40.getString();
          intdescuentokdref2 = Float.parseFloat(descuentokdref2);
          DescuentoKDNoRef_Nomina3();//GEN-LINE:|659-if|2|660-postAction
        } else {//GEN-LINE:|659-if|3|661-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKDRef_Nomina3());//GEN-LINE:|659-if|4|661-postAction
            // write post-action user code here
        }//GEN-LINE:|659-if|5|659-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|659-if|6|
    //</editor-fold>//GEN-END:|659-if|6|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKDRef_Nomina3 ">//GEN-BEGIN:|663-getter|0|663-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKDRef_Nomina3 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKDRef_Nomina3() {
        if (Alerta_DescuentoKDRef_Nomina3 == null) {//GEN-END:|663-getter|0|663-preInit
            // write pre-init user code here
            Alerta_DescuentoKDRef_Nomina3 = new Alert("", "FALTA DESCUENTO KD NO REF.", null, AlertType.ERROR);//GEN-BEGIN:|663-getter|1|663-postInit
            Alerta_DescuentoKDRef_Nomina3.addCommand(getBackCommand28());
            Alerta_DescuentoKDRef_Nomina3.setCommandListener(this);
            Alerta_DescuentoKDRef_Nomina3.setTimeout(Alert.FOREVER);//GEN-END:|663-getter|1|663-postInit
            // write post-init user code here
        }//GEN-BEGIN:|663-getter|2|
        return Alerta_DescuentoKDRef_Nomina3;
    }
    //</editor-fold>//GEN-END:|663-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand28 ">//GEN-BEGIN:|665-getter|0|665-preInit
    /**
     * Returns an initiliazed instance of backCommand28 component.
     * @return the initialized component instance
     */
    public Command getBackCommand28() {
        if (backCommand28 == null) {//GEN-END:|665-getter|0|665-preInit
            // write pre-init user code here
            backCommand28 = new Command("OK", Command.BACK, 0);//GEN-LINE:|665-getter|1|665-postInit
            // write post-init user code here
        }//GEN-BEGIN:|665-getter|2|
        return backCommand28;
    }
    //</editor-fold>//GEN-END:|665-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKDNoRef_Nomina3 ">//GEN-BEGIN:|668-if|0|668-preIf
    /**
     * Performs an action assigned to the DescuentoKDNoRef_Nomina3 if-point.
     */
    public void DescuentoKDNoRef_Nomina3() {//GEN-END:|668-if|0|668-preIf
        // enter pre-if user code here
        if (textField41.getString().length() != 0) {//GEN-LINE:|668-if|1|669-preAction
         descuentokdnoref2 = textField41.getString();
         intdescuentokdnoref2 = Float.parseFloat(descuentokdnoref2);
         DescuentoKD_Validar_Menores_Nomina3();//GEN-LINE:|668-if|2|669-postAction
        } else {//GEN-LINE:|668-if|3|670-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKDNoRef_Nomina3());//GEN-LINE:|668-if|4|670-postAction
            // write post-action user code here
        }//GEN-LINE:|668-if|5|668-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|668-if|6|
    //</editor-fold>//GEN-END:|668-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand29 ">//GEN-BEGIN:|674-getter|0|674-preInit
    /**
     * Returns an initiliazed instance of backCommand29 component.
     * @return the initialized component instance
     */
    public Command getBackCommand29() {
        if (backCommand29 == null) {//GEN-END:|674-getter|0|674-preInit
            // write pre-init user code here
            backCommand29 = new Command("OK", Command.BACK, 0);//GEN-LINE:|674-getter|1|674-postInit
            // write post-init user code here
        }//GEN-BEGIN:|674-getter|2|
        return backCommand29;
    }
    //</editor-fold>//GEN-END:|674-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKDNoRef_Nomina3 ">//GEN-BEGIN:|672-getter|0|672-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKDNoRef_Nomina3 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKDNoRef_Nomina3() {
        if (Alerta_DescuentoKDNoRef_Nomina3 == null) {//GEN-END:|672-getter|0|672-preInit
            // write pre-init user code here
            Alerta_DescuentoKDNoRef_Nomina3 = new Alert("", "FALTA DESCUENTO KD NO REF.", null, AlertType.ERROR);//GEN-BEGIN:|672-getter|1|672-postInit
            Alerta_DescuentoKDNoRef_Nomina3.addCommand(getBackCommand29());
            Alerta_DescuentoKDNoRef_Nomina3.setCommandListener(this);
            Alerta_DescuentoKDNoRef_Nomina3.setTimeout(Alert.FOREVER);//GEN-END:|672-getter|1|672-postInit
            // write post-init user code here
        }//GEN-BEGIN:|672-getter|2|
        return Alerta_DescuentoKDNoRef_Nomina3;
    }
    //</editor-fold>//GEN-END:|672-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKD_Validar_Menores_Nomina3 ">//GEN-BEGIN:|677-if|0|677-preIf
    /**
     * Performs an action assigned to the DescuentoKD_Validar_Menores_Nomina3 if-point.
     */
    public void DescuentoKD_Validar_Menores_Nomina3() {//GEN-END:|677-if|0|677-preIf
        // enter pre-if user code here
        if (textField42.getString().length() <=  textField37.getString().length()) {//GEN-LINE:|677-if|1|678-preAction
            // write pre-action user code here
            DescuentoKD_Nomina3();//GEN-LINE:|677-if|2|678-postAction
            // write post-action user code here
        } else {//GEN-LINE:|677-if|3|679-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKD_Validar_Menor_Nomina3());//GEN-LINE:|677-if|4|679-postAction
            // write post-action user code here
        }//GEN-LINE:|677-if|5|677-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|677-if|6|
    //</editor-fold>//GEN-END:|677-if|6|
    //</editor-fold>
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKD_Validar_Menor_Nomina3 ">//GEN-BEGIN:|681-getter|0|681-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKD_Validar_Menor_Nomina3 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKD_Validar_Menor_Nomina3() {
        if (Alerta_DescuentoKD_Validar_Menor_Nomina3 == null) {//GEN-END:|681-getter|0|681-preInit
            // write pre-init user code here
            Alerta_DescuentoKD_Validar_Menor_Nomina3 = new Alert("", "CANT. QUINC. DEL DESCUENTO KD DEBE SER MENOR A QUINCENAS QUE ABARCA", null, AlertType.ERROR);//GEN-BEGIN:|681-getter|1|681-postInit
            Alerta_DescuentoKD_Validar_Menor_Nomina3.addCommand(getBackCommand30());
            Alerta_DescuentoKD_Validar_Menor_Nomina3.setCommandListener(this);
            Alerta_DescuentoKD_Validar_Menor_Nomina3.setTimeout(Alert.FOREVER);//GEN-END:|681-getter|1|681-postInit
            // write post-init user code here
        }//GEN-BEGIN:|681-getter|2|
        return Alerta_DescuentoKD_Validar_Menor_Nomina3;
    }
    //</editor-fold>//GEN-END:|681-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand30 ">//GEN-BEGIN:|683-getter|0|683-preInit
    /**
     * Returns an initiliazed instance of backCommand30 component.
     * @return the initialized component instance
     */
    public Command getBackCommand30() {
        if (backCommand30 == null) {//GEN-END:|683-getter|0|683-preInit
            // write pre-init user code here
            backCommand30 = new Command("OK", Command.BACK, 0);//GEN-LINE:|683-getter|1|683-postInit
            // write post-init user code here
        }//GEN-BEGIN:|683-getter|2|
        return backCommand30;
    }
    //</editor-fold>//GEN-END:|683-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: DescuentoKD_Nomina3 ">//GEN-BEGIN:|686-if|0|686-preIf
    /**
     * Performs an action assigned to the DescuentoKD_Nomina3 if-point.
     */
    public void DescuentoKD_Nomina3() {//GEN-END:|686-if|0|686-preIf
        // enter pre-if user code here
        if (textField42.getString().length() != 0) {//GEN-LINE:|686-if|1|687-preAction
           descuentokd2 = textField42.getString();
           intdescuentokd2  = Float.parseFloat(descuentokd2);
           Ambos_Campos_Cero_Nomina3();//GEN-LINE:|686-if|2|687-postAction
        } else {//GEN-LINE:|686-if|3|688-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_DescuentoKD_Nomina3());//GEN-LINE:|686-if|4|688-postAction
            // write post-action user code here
        }//GEN-LINE:|686-if|5|686-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|686-if|6|
    //</editor-fold>//GEN-END:|686-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand31 ">//GEN-BEGIN:|692-getter|0|692-preInit
    /**
     * Returns an initiliazed instance of backCommand31 component.
     * @return the initialized component instance
     */
    public Command getBackCommand31() {
        if (backCommand31 == null) {//GEN-END:|692-getter|0|692-preInit
            // write pre-init user code here
            backCommand31 = new Command("OK", Command.BACK, 0);//GEN-LINE:|692-getter|1|692-postInit
            // write post-init user code here
        }//GEN-BEGIN:|692-getter|2|
        return backCommand31;
    }
    //</editor-fold>//GEN-END:|692-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_DescuentoKD_Nomina3 ">//GEN-BEGIN:|690-getter|0|690-preInit
    /**
     * Returns an initiliazed instance of Alerta_DescuentoKD_Nomina3 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_DescuentoKD_Nomina3() {
        if (Alerta_DescuentoKD_Nomina3 == null) {//GEN-END:|690-getter|0|690-preInit
            // write pre-init user code here
            Alerta_DescuentoKD_Nomina3 = new Alert("", "FALTA DESCUENTO KD.", null, AlertType.ERROR);//GEN-BEGIN:|690-getter|1|690-postInit
            Alerta_DescuentoKD_Nomina3.addCommand(getBackCommand31());
            Alerta_DescuentoKD_Nomina3.setCommandListener(this);
            Alerta_DescuentoKD_Nomina3.setTimeout(Alert.FOREVER);//GEN-END:|690-getter|1|690-postInit
            // write post-init user code here
        }//GEN-BEGIN:|690-getter|2|
        return Alerta_DescuentoKD_Nomina3;
    }
    //</editor-fold>//GEN-END:|690-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Ambos_Campos_Cero_Nomina3 ">//GEN-BEGIN:|695-if|0|695-preIf
    /**
     * Performs an action assigned to the Ambos_Campos_Cero_Nomina3 if-point.
     */
    public void Ambos_Campos_Cero_Nomina3() {//GEN-END:|695-if|0|695-preIf
        // enter pre-if user code here
        if (intquincenas2 == 0 && intdescuentokd2 == 0) {//GEN-LINE:|695-if|1|696-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Error0_Nomina3());//GEN-LINE:|695-if|2|696-postAction
            // write post-action user code here
        } else {//GEN-LINE:|695-if|3|697-preAction
            // write pre-action user code here
            UnouOtro_Campo_Cero_Nomina3();//GEN-LINE:|695-if|4|697-postAction
            // write post-action user code here
        }//GEN-LINE:|695-if|5|695-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|695-if|6|
    //</editor-fold>//GEN-END:|695-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand32 ">//GEN-BEGIN:|701-getter|0|701-preInit
    /**
     * Returns an initiliazed instance of backCommand32 component.
     * @return the initialized component instance
     */
    public Command getBackCommand32() {
        if (backCommand32 == null) {//GEN-END:|701-getter|0|701-preInit
            // write pre-init user code here
            backCommand32 = new Command("OK", Command.BACK, 0);//GEN-LINE:|701-getter|1|701-postInit
            // write post-init user code here
        }//GEN-BEGIN:|701-getter|2|
        return backCommand32;
    }
    //</editor-fold>//GEN-END:|701-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Error0_Nomina3 ">//GEN-BEGIN:|699-getter|0|699-preInit
    /**
     * Returns an initiliazed instance of Alerta_Error0_Nomina3 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Error0_Nomina3() {
        if (Alerta_Error0_Nomina3 == null) {//GEN-END:|699-getter|0|699-preInit
            // write pre-init user code here
            Alerta_Error0_Nomina3 = new Alert("", "\"QUINCENAS QUE SE ABARCA\" Y \"CANT. QUINC. DEL DESCUENTO KD\" DEBEN SER MAYOR A CERO.", null, AlertType.ERROR);//GEN-BEGIN:|699-getter|1|699-postInit
            Alerta_Error0_Nomina3.addCommand(getBackCommand32());
            Alerta_Error0_Nomina3.setCommandListener(this);
            Alerta_Error0_Nomina3.setTimeout(Alert.FOREVER);//GEN-END:|699-getter|1|699-postInit
            // write post-init user code here
        }//GEN-BEGIN:|699-getter|2|
        return Alerta_Error0_Nomina3;
    }
    //</editor-fold>//GEN-END:|699-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: UnouOtro_Campo_Cero_Nomina3 ">//GEN-BEGIN:|704-if|0|704-preIf
    /**
     * Performs an action assigned to the UnouOtro_Campo_Cero_Nomina3 if-point.
     */
    public void UnouOtro_Campo_Cero_Nomina3() {//GEN-END:|704-if|0|704-preIf
        // enter pre-if user code here
        if (intquincenas2 == 0 || intdescuentokd2 == 0) {//GEN-LINE:|704-if|1|705-preAction
            // write pre-action user code here
            Un_Campo_Cero_Nomina3();//GEN-LINE:|704-if|2|705-postAction
            // write post-action user code here
        } else {//GEN-LINE:|704-if|3|706-preAction
            // write pre-action user code here
            switchDisplayable(null, getResultados_Nomina3_Calculadora1());//GEN-LINE:|704-if|4|706-postAction
            // write post-action user code here
        }//GEN-LINE:|704-if|5|704-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|704-if|6|
    //</editor-fold>//GEN-END:|704-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Method: Un_Campo_Cero_Nomina3 ">//GEN-BEGIN:|708-if|0|708-preIf
    /**
     * Performs an action assigned to the Un_Campo_Cero_Nomina3 if-point.
     */
    public void Un_Campo_Cero_Nomina3() {//GEN-END:|708-if|0|708-preIf
        // enter pre-if user code here
        if (intquincenas2 == 0) {//GEN-LINE:|708-if|1|709-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Error0_Campo1_Nomina3());//GEN-LINE:|708-if|2|709-postAction
            // write post-action user code here
        } else {//GEN-LINE:|708-if|3|710-preAction
            // write pre-action user code here
            switchDisplayable(null, getAlerta_Error0_Campo2_Nomina3());//GEN-LINE:|708-if|4|710-postAction
            // write post-action user code here
        }//GEN-LINE:|708-if|5|708-postIf
        // enter post-if user code here
    }//GEN-BEGIN:|708-if|6|
    //</editor-fold>//GEN-END:|708-if|6|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand33 ">//GEN-BEGIN:|714-getter|0|714-preInit
    /**
     * Returns an initiliazed instance of backCommand33 component.
     * @return the initialized component instance
     */
    public Command getBackCommand33() {
        if (backCommand33 == null) {//GEN-END:|714-getter|0|714-preInit
            // write pre-init user code here
            backCommand33 = new Command("OK", Command.BACK, 0);//GEN-LINE:|714-getter|1|714-postInit
            // write post-init user code here
        }//GEN-BEGIN:|714-getter|2|
        return backCommand33;
    }
    //</editor-fold>//GEN-END:|714-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Error0_Campo1_Nomina3 ">//GEN-BEGIN:|712-getter|0|712-preInit
    /**
     * Returns an initiliazed instance of Alerta_Error0_Campo1_Nomina3 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Error0_Campo1_Nomina3() {
        if (Alerta_Error0_Campo1_Nomina3 == null) {//GEN-END:|712-getter|0|712-preInit
            // write pre-init user code here
            Alerta_Error0_Campo1_Nomina3 = new Alert("", "\"QUINCENAS QUE SE ABARCA\" DEBE SER MAYOR A CERO.", null, AlertType.ERROR);//GEN-BEGIN:|712-getter|1|712-postInit
            Alerta_Error0_Campo1_Nomina3.addCommand(getBackCommand33());
            Alerta_Error0_Campo1_Nomina3.setCommandListener(this);
            Alerta_Error0_Campo1_Nomina3.setTimeout(Alert.FOREVER);//GEN-END:|712-getter|1|712-postInit
            // write post-init user code here
        }//GEN-BEGIN:|712-getter|2|
        return Alerta_Error0_Campo1_Nomina3;
    }
    //</editor-fold>//GEN-END:|712-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: backCommand34 ">//GEN-BEGIN:|719-getter|0|719-preInit
    /**
     * Returns an initiliazed instance of backCommand34 component.
     * @return the initialized component instance
     */
    public Command getBackCommand34() {
        if (backCommand34 == null) {//GEN-END:|719-getter|0|719-preInit
            // write pre-init user code here
            backCommand34 = new Command("OK", Command.BACK, 0);//GEN-LINE:|719-getter|1|719-postInit
            // write post-init user code here
        }//GEN-BEGIN:|719-getter|2|
        return backCommand34;
    }
    //</editor-fold>//GEN-END:|719-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Alerta_Error0_Campo2_Nomina3 ">//GEN-BEGIN:|717-getter|0|717-preInit
    /**
     * Returns an initiliazed instance of Alerta_Error0_Campo2_Nomina3 component.
     * @return the initialized component instance
     */
    public Alert getAlerta_Error0_Campo2_Nomina3() {
        if (Alerta_Error0_Campo2_Nomina3 == null) {//GEN-END:|717-getter|0|717-preInit
            // write pre-init user code here
            Alerta_Error0_Campo2_Nomina3 = new Alert("", "\"CANT. QUINC. DEL DESCUENTO KD\" DEBE SER MAYOR A CERO.", null, AlertType.ERROR);//GEN-BEGIN:|717-getter|1|717-postInit
            Alerta_Error0_Campo2_Nomina3.addCommand(getBackCommand34());
            Alerta_Error0_Campo2_Nomina3.setCommandListener(this);
            Alerta_Error0_Campo2_Nomina3.setTimeout(Alert.FOREVER);//GEN-END:|717-getter|1|717-postInit
            // write post-init user code here
        }//GEN-BEGIN:|717-getter|2|
        return Alerta_Error0_Campo2_Nomina3;
    }
    //</editor-fold>//GEN-END:|717-getter|2|
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: Resultados_Nomina3_Calculadora1 ">//GEN-BEGIN:|722-getter|0|722-preInit
    /**
     * Returns an initiliazed instance of Resultados_Nomina3_Calculadora1 component.
     * @return the initialized component instance
     */
    public Form getResultados_Nomina3_Calculadora1() {
        if (Resultados_Nomina3_Calculadora1 == null) {//GEN-END:|722-getter|0|722-preInit
            // write pre-init user code here
            Resultados_Nomina3_Calculadora1 = new Form("RESULTADOS N\u00D3MINA TRES", new Item[] { getTextField47(), getTextField48(), getTextField49() });//GEN-BEGIN:|722-getter|1|722-postInit
            Resultados_Nomina3_Calculadora1.addCommand(getOkCommand18());
            Resultados_Nomina3_Calculadora1.addCommand(getExitCommand11());
            Resultados_Nomina3_Calculadora1.setCommandListener(this);//GEN-END:|722-getter|1|722-postInit

            intporcentajeliquido2 = 0.30f;
            intpercepcionesfijas2 = intpercepciones2 - (intbonouno2 + intbonodos2 + intbonotres2 + intbonocuatro2);
            intliquidosinbonos2 = intliquido2 - (intbonouno2 + intbonodos2 + intbonotres2 + intbonocuatro2 + intdescuentokdnoref2);

            if (intdescuentokdnoref2 == 0)
             {
               intporcientoliquido2 = (intliquidosinbonos2/intquincenas2) * intporcentajeliquido2;
               textField47.setString("" + intporcientoliquido2);
             }else
              {
                intporcientoliquido2 = (((intliquido2 - (intbonouno2 + intbonodos2 + intbonotres2 + intbonocuatro2))/ intquincenas2) * intporcentajeliquido2) - intdescuentokdnoref2;
                textField47.setString("" + intporcientoliquido2);
              }

            intce2 = ((((intpercepciones2 - (intbonouno2 + intbonodos2 + intbonotres2 + intbonocuatro2)) / intquincenas2) * intporcentajeliquido2)) - ((intdescuentokdref2 / intdescuentokd2) + intdescuentokdnoref2);

            if (intce2 == 0)
             {
               textField48.setString("NO APLICA");
               intce2 = 0;
             }else
              {
               textField48.setString("" + intce2);
              }

            float zz = 0.20f;
            intcp2 =  ((intliquido2 - intdescuentokdnoref2 - (intbonouno2 + intbonodos2 + intbonotres2 + intbonocuatro2) - intpercepcionesfijas2 * zz) / intquincenas2);

            if (intcp2 == 0)
             {
               textField49.setString("No aplica");
               intcp2 = 0;
             }else
              {
                intcp2 = ((intliquido2 - intdescuentokdnoref2 - (intbonouno2 + intbonodos2 + intbonotres2 + intbonocuatro2) - intpercepcionesfijas2 * zz) / intquincenas2);
                textField49.setString("" + intcp2);
              }
        }//GEN-BEGIN:|722-getter|2|
        return Resultados_Nomina3_Calculadora1;
    }
    //</editor-fold>//GEN-END:|722-getter|2|



    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: okCommand18 ">//GEN-BEGIN:|728-getter|0|728-preInit
    /**
     * Returns an initiliazed instance of okCommand18 component.
     * @return the initialized component instance
     */
    public Command getOkCommand18() {
        if (okCommand18 == null) {//GEN-END:|728-getter|0|728-preInit
            // write pre-init user code here
            okCommand18 = new Command("LIQUIDEZ", Command.OK, 0);//GEN-LINE:|728-getter|1|728-postInit
            // write post-init user code here
        }//GEN-BEGIN:|728-getter|2|
        return okCommand18;
    }
    //</editor-fold>//GEN-END:|728-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: exitCommand11 ">//GEN-BEGIN:|730-getter|0|730-preInit
    /**
     * Returns an initiliazed instance of exitCommand11 component.
     * @return the initialized component instance
     */
    public Command getExitCommand11() {
        if (exitCommand11 == null) {//GEN-END:|730-getter|0|730-preInit
            // write pre-init user code here
            exitCommand11 = new Command("SALIR", Command.EXIT, 0);//GEN-LINE:|730-getter|1|730-postInit
            // write post-init user code here
        }//GEN-BEGIN:|730-getter|2|
        return exitCommand11;
    }
    //</editor-fold>//GEN-END:|730-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField47 ">//GEN-BEGIN:|733-getter|0|733-preInit
    /**
     * Returns an initiliazed instance of textField47 component.
     * @return the initialized component instance
     */
    public TextField getTextField47() {
        if (textField47 == null) {//GEN-END:|733-getter|0|733-preInit
            // write pre-init user code here
            textField47 = new TextField("% de L\u00EDquido:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|733-getter|1|733-postInit
            // write post-init user code here
        }//GEN-BEGIN:|733-getter|2|
        return textField47;
    }
    //</editor-fold>//GEN-END:|733-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField48 ">//GEN-BEGIN:|734-getter|0|734-preInit
    /**
     * Returns an initiliazed instance of textField48 component.
     * @return the initialized component instance
     */
    public TextField getTextField48() {
        if (textField48 == null) {//GEN-END:|734-getter|0|734-preInit
            // write pre-init user code here
            textField48 = new TextField("C.E.:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|734-getter|1|734-postInit
            // write post-init user code here
        }//GEN-BEGIN:|734-getter|2|
        return textField48;
    }
    //</editor-fold>//GEN-END:|734-getter|2|

    //<editor-fold defaultstate="collapsed" desc=" Generated Getter: textField49 ">//GEN-BEGIN:|735-getter|0|735-preInit
    /**
     * Returns an initiliazed instance of textField49 component.
     * @return the initialized component instance
     */
    public TextField getTextField49() {
        if (textField49 == null) {//GEN-END:|735-getter|0|735-preInit
            // write pre-init user code here
            textField49 = new TextField("C.P.:", null, 32, TextField.ANY | TextField.UNEDITABLE);//GEN-LINE:|735-getter|1|735-postInit
            // write post-init user code here
        }//GEN-BEGIN:|735-getter|2|
        return textField49;
    }
    //</editor-fold>//GEN-END:|735-getter|2|


















    //</editor-fold>





    /**
     * Returns a display instance.
     * @return the display instance.
     */
    public Display getDisplay() {
        return Display.getDisplay(this);
    }

    /**
     * Exits MIDlet.
     */
    public void exitMIDlet() {
       switchDisplayable(null, null);
        destroyApp(true);
        notifyDestroyed();
    }

    /**
     * Called when MIDlet is started.
     * Checks whether the MIDlet have been already started and initialize/starts or resumes the MIDlet.
     */
    public void startApp() {
        if (midletPaused) {
            resumeMIDlet();
        } else {
            initialize();
            startMIDlet();
        }
        midletPaused = false;
    }

    /**
     * Called when MIDlet is paused.
     */
    public void pauseApp() {
        midletPaused = true;
    }

    /**
     * Called to signal the MIDlet to terminate.
     * @param unconditional if true, then the MIDlet has to be unconditionally terminated and all resources has to be released.
     */
    public void destroyApp(boolean unconditional) {
    }
}
